#7F861E#7F861E

#7F861E is a mid, vivid yellow. Relative luminance 0.217; OKLCH L 59.5% C 0.122 H 113.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7F861E
RGBrgb(127, 134, 30)
HSLhsl(64, 63%, 32%)
HSVhsv(64, 78%, 53%)
CMYKcmyk(5.2%, 0%, 77.6%, 47.5%)
CIE-LABlab(53.66, -15.74, 51.03)
CIE-LCHlch(53.66, 53.40, 107.15°)
OKLaboklab(59.51% -0.0487 0.112)
OKLCHoklch(59.51% 0.122 113.5)
XYZxyz(17.5124, 21.6563, 4.4856)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F861E #251E86
analogous
#86591E #7F861E #4B861E
triadic
#7F861E #1E7F86 #861E7F
tetradic
#7F861E #1E8659 #251E86 #861E4B
square
#7F861E #1E8659 #251E86 #861E4B
split-complementary
#7F861E #1E4B86 #591E86
monochromatic
#202208 #505413 #7F861E #AEB829 #CDD648

Accessibility & contrast

On white

3.94
#7F861E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7F861E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F861E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F861E#FFFFFF#000000##000000
##7F861E1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F04
Deuteranopia (green-blind)
#908127
Tritanopia (blue-blind)
#887E72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f861e;
/* rgb */ color: rgb(127, 134, 30);
/* oklch */ color: oklch(59.5% 0.122 113.5);
Tailwind
colors: {
  custom: {
    50: '#a7a963',
    500: '#7f861e',
    950: '#000000',
  },
}
SCSS
$custom: #7f861e;
$custom-light: #a7a963;
$custom-dark: #000000;
JSON
{
  "hex": "#7f861e",
  "rgb": {
    "r": 127,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 64.038,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59513,
    "c": 0.12213,
    "h": 113.5
  },
  "luminance": 0.21656
}

Semantic roles & 50–950 ramp

primary
#7F861E
secondary
#4F47B8
accent
#41E64C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7F861E

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

Preview Lab → · Contrast checker → · Palette generator →

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