#7D8D1D#7D8D1D

#7D8D1D is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.0% C 0.131 H 117.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7D8D1D
RGBrgb(125, 141, 29)
HSLhsl(69, 66%, 33%)
HSVhsv(69, 79%, 55%)
CMYKcmyk(11.3%, 0%, 79.4%, 44.7%)
CIE-LABlab(55.58, -20.33, 53.07)
CIE-LCHlch(55.58, 56.83, 110.96°)
OKLaboklab(61.02% -0.0613 0.1162)
OKLCHoklch(61.02% 0.131 117.8)
XYZxyz(18.2045, 23.4986, 4.7388)
Luminance0.2350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8D1D #2D1D8D
analogous
#8D651D #7D8D1D #458D1D
triadic
#7D8D1D #1D7D8D #8D1D7D
tetradic
#7D8D1D #1D8D65 #2D1D8D #8D1D45
square
#7D8D1D #1D8D65 #2D1D8D #8D1D45
split-complementary
#7D8D1D #1D458D #651D8D
monochromatic
#232708 #505A13 #7D8D1D #AAC027 #C5DA4B

Accessibility & contrast

On white

3.68
#7D8D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#7D8D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8D1D
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8D1D#FFFFFF#000000##000000
##7D8D1D1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#958628
Tritanopia (blue-blind)
#858578
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7d8d1d;
/* rgb */ color: rgb(125, 141, 29);
/* oklch */ color: oklch(61.0% 0.131 117.8);
Tailwind
colors: {
  custom: {
    50: '#a6ae63',
    500: '#7d8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #7d8d1d;
$custom-light: #a6ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8d1d",
  "rgb": {
    "r": 125,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 68.571,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61015,
    "c": 0.1314,
    "h": 117.8
  },
  "luminance": 0.23498
}

Semantic roles & 50–950 ramp

primary
#7D8D1D
secondary
#5A4ABC
accent
#3FE957
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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