#7D7D17#7D7D17

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

Color values

HEX#7D7D17
RGBrgb(125, 125, 23)
HSLhsl(60, 69%, 29%)
HSVhsv(60, 82%, 49%)
CMYKcmyk(0%, 0%, 81.6%, 51%)
CIE-LABlab(50.79, -12.13, 50.64)
CIE-LCHlch(50.79, 52.07, 103.47°)
OKLaboklab(57.16% -0.0391 0.1099)
OKLCHoklch(57.16% 0.117 109.6)
XYZxyz(15.9463, 19.0896, 3.6551)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D17 #17177D
analogous
#7D4A17 #7D7D17 #4A7D17
triadic
#7D7D17 #177D7D #7D177D
tetradic
#7D7D17 #177D4A #17177D #7D174A
square
#7D7D17 #177D4A #17177D #7D174A
split-complementary
#7D7D17 #174A7D #4A177D
monochromatic
#1A1A05 #49490D #7D7D17 #B1B121 #DADA35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7D17#FFFFFF#000000##000000
##7D7D171.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)
#887700
Deuteranopia (green-blind)
#897A20
Tritanopia (blue-blind)
#86746A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7d17;
/* rgb */ color: rgb(125, 125, 23);
/* oklch */ color: oklch(57.2% 0.117 109.6);
Tailwind
colors: {
  custom: {
    50: '#a6a25f',
    500: '#7d7d17',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d17;
$custom-light: #a6a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d17",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57164,
    "c": 0.11667,
    "h": 109.6
  },
  "luminance": 0.19089
}

Semantic roles & 50–950 ramp

primary
#7D7D17
secondary
#3E3EB2
accent
#3CEC3C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7D7D17

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

Preview Lab → · Contrast checker → · Palette generator →

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