#7F891E#7F891E

#7F891E is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.2% C 0.126 H 115.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7F891E
RGBrgb(127, 137, 30)
HSLhsl(66, 64%, 33%)
HSVhsv(66, 78%, 54%)
CMYKcmyk(7.3%, 0%, 78.1%, 46.3%)
CIE-LABlab(54.55, -17.32, 51.85)
CIE-LCHlch(54.55, 54.67, 108.47°)
OKLaboklab(60.23% -0.053 0.1138)
OKLCHoklch(60.23% 0.126 115)
XYZxyz(17.9329, 22.4974, 4.6258)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F891E #281E89
analogous
#895D1E #7F891E #4A891E
triadic
#7F891E #1E7F89 #891E7F
tetradic
#7F891E #1E895D #281E89 #891E4A
square
#7F891E #1E895D #281E89 #891E4A
split-complementary
#7F891E #1E4A89 #5D1E89
monochromatic
#222508 #505713 #7F891E #AEBB29 #CAD74A

Accessibility & contrast

On white

3.82
#7F891E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7F891E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F891E
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F891E#FFFFFF#000000##000000
##7F891E1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938203
Deuteranopia (green-blind)
#938328
Tritanopia (blue-blind)
#888175
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f891e;
/* rgb */ color: rgb(127, 137, 30);
/* oklch */ color: oklch(60.2% 0.126 115.0);
Tailwind
colors: {
  custom: {
    50: '#a7ab63',
    500: '#7f891e',
    950: '#000000',
  },
}
SCSS
$custom: #7f891e;
$custom-light: #a7ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#7f891e",
  "rgb": {
    "r": 127,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 65.607,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60227,
    "c": 0.12551,
    "h": 115
  },
  "luminance": 0.22497
}

Semantic roles & 50–950 ramp

primary
#7F891E
secondary
#5449BA
accent
#41E750
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7F891E

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

Preview Lab → · Contrast checker → · Palette generator →

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