#807F27#807F27

#807F27 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.0% C 0.108 H 108.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#807F27
RGBrgb(128, 127, 39)
HSLhsl(59, 53%, 33%)
HSVhsv(59, 70%, 50%)
CMYKcmyk(0%, 0.8%, 69.5%, 49.8%)
CIE-LABlab(51.74, -11.06, 45.78)
CIE-LCHlch(51.74, 47.09, 103.58°)
OKLaboklab(58.02% -0.0347 0.1026)
OKLCHoklch(58.02% 0.108 108.7)
XYZxyz(16.8583, 19.9149, 4.8750)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F27 #272880
analogous
#805227 #807F27 #548027
triadic
#807F27 #27807F #7F2780
tetradic
#807F27 #278052 #272880 #802754
square
#807F27 #278052 #272880 #802754
split-complementary
#807F27 #275480 #522780
monochromatic
#22220A #515019 #807F27 #AFAE35 #CBCA56

Accessibility & contrast

On white

4.21
#807F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#807F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807F27
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807F27#FFFFFF#000000##000000
##807F271.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1A
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#89776D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f27;
/* rgb */ color: rgb(128, 127, 39);
/* oklch */ color: oklch(58.0% 0.108 108.7);
Tailwind
colors: {
  custom: {
    50: '#a8a367',
    500: '#807f27',
    950: '#000000',
  },
}
SCSS
$custom: #807f27;
$custom-light: #a8a367;
$custom-dark: #000000;
JSON
{
  "hex": "#807f27",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 59.326,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58017,
    "c": 0.10827,
    "h": 108.7
  },
  "luminance": 0.19914
}

Semantic roles & 50–950 ramp

primary
#807F27
secondary
#5354B0
accent
#4DDD4B
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #807F27

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

Preview Lab → · Contrast checker → · Palette generator →

#807F27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva