#7D7A17#7D7A17

#7D7A17 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.114 H 107.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D7A17
RGBrgb(125, 122, 23)
HSLhsl(58, 69%, 29%)
HSVhsv(58, 82%, 49%)
CMYKcmyk(0%, 2.4%, 81.6%, 51%)
CIE-LABlab(49.91, -10.49, 49.86)
CIE-LCHlch(49.91, 50.95, 101.88°)
OKLaboklab(56.46% -0.0345 0.1082)
OKLCHoklch(56.46% 0.114 107.7)
XYZxyz(15.5723, 18.3414, 3.5304)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7A17 #171A7D
analogous
#7D4717 #7D7A17 #4D7D17
triadic
#7D7A17 #177D7A #7A177D
tetradic
#7D7A17 #177D47 #171A7D #7D174D
square
#7D7A17 #177D47 #171A7D #7D174D
split-complementary
#7D7A17 #174D7D #47177D
monochromatic
#1A1905 #49480D #7D7A17 #B1AC21 #DAD535

Accessibility & contrast

On white

4.50
#7D7A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7D7A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7A17
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7A17#FFFFFF#000000##000000
##7D7A171.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#877820
Tritanopia (blue-blind)
#877168
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7a17;
/* rgb */ color: rgb(125, 122, 23);
/* oklch */ color: oklch(56.5% 0.114 107.7);
Tailwind
colors: {
  custom: {
    50: '#a6a05e',
    500: '#7d7a17',
    950: '#000000',
  },
}
SCSS
$custom: #7d7a17;
$custom-light: #a6a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7a17",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 58.235,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56458,
    "c": 0.11362,
    "h": 107.7
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#7D7A17
secondary
#3E41B2
accent
#41EC3C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7A17

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

Preview Lab → · Contrast checker → · Palette generator →

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