#7D8B1D#7D8B1D

#7D8B1D is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.5% C 0.129 H 116.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7D8B1D
RGBrgb(125, 139, 29)
HSLhsl(68, 65%, 33%)
HSVhsv(68, 79%, 55%)
CMYKcmyk(10.1%, 0%, 79.1%, 45.5%)
CIE-LABlab(54.98, -19.30, 52.52)
CIE-LCHlch(54.98, 55.95, 110.18°)
OKLaboklab(60.53% -0.0585 0.1151)
OKLCHoklch(60.53% 0.129 116.9)
XYZxyz(17.9123, 22.9142, 4.6414)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8B1D #2B1D8B
analogous
#8B621D #7D8B1D #468B1D
triadic
#7D8B1D #1D7D8B #8B1D7D
tetradic
#7D8B1D #1D8B62 #2B1D8B #8B1D46
square
#7D8B1D #1D8B62 #2B1D8B #8B1D46
split-complementary
#7D8B1D #1D468B #621D8B
monochromatic
#222608 #4F5812 #7D8B1D #ABBE28 #C7D949

Accessibility & contrast

On white

3.76
#7D8B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7D8B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8B1D
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8B1D#FFFFFF#000000##000000
##7D8B1D1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#948427
Tritanopia (blue-blind)
#858377
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7d8b1d;
/* rgb */ color: rgb(125, 139, 29);
/* oklch */ color: oklch(60.5% 0.129 116.9);
Tailwind
colors: {
  custom: {
    50: '#a6ac63',
    500: '#7d8b1d',
    950: '#000000',
  },
}
SCSS
$custom: #7d8b1d;
$custom-light: #a6ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8b1d",
  "rgb": {
    "r": 125,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 67.636,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60533,
    "c": 0.12907,
    "h": 116.9
  },
  "luminance": 0.22914
}

Semantic roles & 50–950 ramp

primary
#7D8B1D
secondary
#5749BB
accent
#3FE855
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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