#807D27#807D27

#807D27 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.6% C 0.106 H 107.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#807D27
RGBrgb(128, 125, 39)
HSLhsl(58, 53%, 33%)
HSVhsv(58, 70%, 50%)
CMYKcmyk(0%, 2.3%, 69.5%, 49.8%)
CIE-LABlab(51.16, -9.97, 45.18)
CIE-LCHlch(51.16, 46.27, 102.44°)
OKLaboklab(57.55% -0.0316 0.1013)
OKLCHoklch(57.55% 0.106 107.4)
XYZxyz(16.6025, 19.4035, 4.7897)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D27 #272A80
analogous
#805127 #807D27 #568027
triadic
#807D27 #27807D #7D2780
tetradic
#807D27 #278051 #272A80 #802756
square
#807D27 #278051 #272A80 #802756
split-complementary
#807D27 #275680 #512780
monochromatic
#22210A #514F19 #807D27 #AFAB35 #CBC856

Accessibility & contrast

On white

4.30
#807D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#807D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807D27
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807D27#FFFFFF#000000##000000
##807D271.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781A
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#89756C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807d27;
/* rgb */ color: rgb(128, 125, 39);
/* oklch */ color: oklch(57.6% 0.106 107.4);
Tailwind
colors: {
  custom: {
    50: '#a8a267',
    500: '#807d27',
    950: '#000000',
  },
}
SCSS
$custom: #807d27;
$custom-light: #a8a267;
$custom-dark: #000000;
JSON
{
  "hex": "#807d27",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 57.978,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5755,
    "c": 0.10613,
    "h": 107.4
  },
  "luminance": 0.19403
}

Semantic roles & 50–950 ramp

primary
#807D27
secondary
#5356B0
accent
#50DD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #807D27

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

Preview Lab → · Contrast checker → · Palette generator →

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