#7D891D#7D891D

#7D891D is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.1% C 0.127 H 116.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7D891D
RGBrgb(125, 137, 29)
HSLhsl(67, 65%, 33%)
HSVhsv(67, 79%, 54%)
CMYKcmyk(8.8%, 0%, 78.8%, 46.3%)
CIE-LABlab(54.39, -18.26, 51.97)
CIE-LCHlch(54.39, 55.09, 109.36°)
OKLaboklab(60.05% -0.0556 0.1139)
OKLCHoklch(60.05% 0.127 116)
XYZxyz(17.6254, 22.3403, 4.5458)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D891D #291D89
analogous
#895F1D #7D891D #47891D
triadic
#7D891D #1D7D89 #891D7D
tetradic
#7D891D #1D895F #291D89 #891D47
square
#7D891D #1D895F #291D89 #891D47
split-complementary
#7D891D #1D4789 #5F1D89
monochromatic
#212408 #4F5612 #7D891D #ABBC28 #C8D848

Accessibility & contrast

On white

3.84
#7D891D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7D891D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D891D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D891D#FFFFFF#000000##000000
##7D891D1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#858175
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d891d;
/* rgb */ color: rgb(125, 137, 29);
/* oklch */ color: oklch(60.1% 0.127 116.0);
Tailwind
colors: {
  custom: {
    50: '#a6ab63',
    500: '#7d891d',
    950: '#000000',
  },
}
SCSS
$custom: #7d891d;
$custom-light: #a6ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d891d",
  "rgb": {
    "r": 125,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 66.667,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60053,
    "c": 0.12676,
    "h": 116
  },
  "luminance": 0.2234
}

Semantic roles & 50–950 ramp

primary
#7D891D
secondary
#5447BA
accent
#40E852
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D891D

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

Preview Lab → · Contrast checker → · Palette generator →

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