#7D8E1D#7D8E1D

#7D8E1D is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.3% C 0.133 H 118.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7D8E1D
RGBrgb(125, 142, 29)
HSLhsl(69, 66%, 34%)
HSVhsv(69, 80%, 56%)
CMYKcmyk(12%, 0%, 79.6%, 44.3%)
CIE-LABlab(55.88, -20.84, 53.34)
CIE-LCHlch(55.88, 57.27, 111.34°)
OKLaboklab(61.26% -0.0627 0.1168)
OKLCHoklch(61.26% 0.133 118.2)
XYZxyz(18.3527, 23.7949, 4.7882)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8E1D #2E1D8E
analogous
#8E661D #7D8E1D #448E1D
triadic
#7D8E1D #1D7D8E #8E1D7D
tetradic
#7D8E1D #1D8E66 #2E1D8E #8E1D44
square
#7D8E1D #1D8E66 #2E1D8E #8E1D44
split-complementary
#7D8E1D #1D448E #661D8E
monochromatic
#242808 #505B13 #7D8E1D #AAC127 #C5DA4B

Accessibility & contrast

On white

3.65
#7D8E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#7D8E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8E1D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8E1D#FFFFFF#000000##000000
##7D8E1D1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#968628
Tritanopia (blue-blind)
#858679
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7d8e1d;
/* rgb */ color: rgb(125, 142, 29);
/* oklch */ color: oklch(61.3% 0.133 118.2);
Tailwind
colors: {
  custom: {
    50: '#a6af64',
    500: '#7d8e1d',
    950: '#000000',
  },
}
SCSS
$custom: #7d8e1d;
$custom-light: #a6af64;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8e1d",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 69.027,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61256,
    "c": 0.13258,
    "h": 118.2
  },
  "luminance": 0.23795
}

Semantic roles & 50–950 ramp

primary
#7D8E1D
secondary
#5B4ABD
accent
#3FE958
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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