#7D7D1B#7D7D1B

#7D7D1B is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.115 H 109.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7D7D1B
RGBrgb(125, 125, 27)
HSLhsl(60, 64%, 30%)
HSVhsv(60, 78%, 49%)
CMYKcmyk(0%, 0%, 78.4%, 51%)
CIE-LABlab(50.81, -11.97, 49.37)
CIE-LCHlch(50.81, 50.79, 103.63°)
OKLaboklab(57.19% -0.0383 0.108)
OKLCHoklch(57.19% 0.115 109.5)
XYZxyz(15.9895, 19.1068, 3.8824)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D1B #1B1B7D
analogous
#7D4C1B #7D7D1B #4C7D1B
triadic
#7D7D1B #1B7D7D #7D1B7D
tetradic
#7D7D1B #1B7D4C #1B1B7D #7D1B4C
square
#7D7D1B #1B7D4C #1B1B7D #7D1B4C
split-complementary
#7D7D1B #1B4C7D #4C1B7D
monochromatic
#191905 #4B4B10 #7D7D1B #AFAF26 #D5D53D

Accessibility & contrast

On white

4.36
#7D7D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7D7D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7D1B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7D1B#FFFFFF#000000##000000
##7D7D1B1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887703
Deuteranopia (green-blind)
#897A23
Tritanopia (blue-blind)
#86756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7d1b;
/* rgb */ color: rgb(125, 125, 27);
/* oklch */ color: oklch(57.2% 0.115 109.5);
Tailwind
colors: {
  custom: {
    50: '#a6a260',
    500: '#7d7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d1b;
$custom-light: #a6a260;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d1b",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 60,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57186,
    "c": 0.11457,
    "h": 109.5
  },
  "luminance": 0.19106
}

Semantic roles & 50–950 ramp

primary
#7D7D1B
secondary
#4343B1
accent
#40E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7D7D1B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7D7D1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva