#7D891A#7D891A

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

Color values

HEX#7D891A
RGBrgb(125, 137, 26)
HSLhsl(66, 68%, 32%)
HSVhsv(66, 81%, 54%)
CMYKcmyk(8.8%, 0%, 81%, 46.3%)
CIE-LABlab(54.37, -18.39, 52.91)
CIE-LCHlch(54.37, 56.01, 109.17°)
OKLaboklab(60.04% -0.0562 0.1153)
OKLCHoklch(60.04% 0.128 116)
XYZxyz(17.5901, 22.3261, 4.3598)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D891A #261A89
analogous
#895D1A #7D891A #46891A
triadic
#7D891A #1A7D89 #891A7D
tetradic
#7D891A #1A895D #261A89 #891A46
square
#7D891A #1A895D #261A89 #891A46
split-complementary
#7D891A #1A4689 #5D1A89
monochromatic
#1F2206 #4E5610 #7D891A #ACBC24 #CBDB42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D891A#FFFFFF#000000##000000
##7D891A1.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)
#938100
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#858175
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d891a;
/* rgb */ color: rgb(125, 137, 26);
/* oklch */ color: oklch(60.0% 0.128 116.0);
Tailwind
colors: {
  custom: {
    50: '#a6ab62',
    500: '#7d891a',
    950: '#000000',
  },
}
SCSS
$custom: #7d891a;
$custom-light: #a6ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#7d891a",
  "rgb": {
    "r": 125,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 66.486,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60036,
    "c": 0.1283,
    "h": 116
  },
  "luminance": 0.22326
}

Semantic roles & 50–950 ramp

primary
#7D891A
secondary
#5043BC
accent
#3DEB50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7D891A

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

Preview Lab → · Contrast checker → · Palette generator →

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