#7D891E#7D891E

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

Color values

HEX#7D891E
RGBrgb(125, 137, 30)
HSLhsl(67, 64%, 33%)
HSVhsv(67, 78%, 54%)
CMYKcmyk(8.8%, 0%, 78.1%, 46.3%)
CIE-LABlab(54.39, -18.22, 51.65)
CIE-LCHlch(54.39, 54.77, 109.43°)
OKLaboklab(60.06% -0.0554 0.1134)
OKLCHoklch(60.06% 0.126 116)
XYZxyz(17.6379, 22.3453, 4.6120)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D891E #2A1E89
analogous
#895F1E #7D891E #47891E
triadic
#7D891E #1E7D89 #891E7D
tetradic
#7D891E #1E895F #2A1E89 #891E47
square
#7D891E #1E895F #2A1E89 #891E47
split-complementary
#7D891E #1E4789 #5F1E89
monochromatic
#212508 #4F5713 #7D891E #ABBB29 #C8D74A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D891E#FFFFFF#000000##000000
##7D891E1.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)
#938203
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#858175
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d891e;
/* rgb */ color: rgb(125, 137, 30);
/* oklch */ color: oklch(60.1% 0.126 116.0);
Tailwind
colors: {
  custom: {
    50: '#a6ab63',
    500: '#7d891e',
    950: '#000000',
  },
}
SCSS
$custom: #7d891e;
$custom-light: #a6ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d891e",
  "rgb": {
    "r": 125,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 66.729,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60059,
    "c": 0.1262,
    "h": 116
  },
  "luminance": 0.22345
}

Semantic roles & 50–950 ramp

primary
#7D891E
secondary
#5649BA
accent
#41E753
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D891E

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

Preview Lab → · Contrast checker → · Palette generator →

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