#807F21#807F21

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

Color values

HEX#807F21
RGBrgb(128, 127, 33)
HSLhsl(59, 59%, 32%)
HSVhsv(59, 74%, 50%)
CMYKcmyk(0%, 0.8%, 74.2%, 49.8%)
CIE-LABlab(51.70, -11.39, 48.13)
CIE-LCHlch(51.70, 49.46, 103.31°)
OKLaboklab(57.97% -0.0363 0.1064)
OKLCHoklch(57.97% 0.112 108.8)
XYZxyz(16.7666, 19.8783, 4.3922)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F21 #212280
analogous
#805021 #807F21 #528021
triadic
#807F21 #21807F #7F2180
tetradic
#807F21 #218050 #212280 #802152
square
#807F21 #218050 #212280 #802152
split-complementary
#807F21 #215280 #502180
monochromatic
#1F1E08 #4F4F14 #807F21 #B1AF2E #D1CF4B

Accessibility & contrast

On white

4.22
#807F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##807F21#FFFFFF#000000##000000
##807F211.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0F
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#89776D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f21;
/* rgb */ color: rgb(128, 127, 33);
/* oklch */ color: oklch(58.0% 0.112 108.8);
Tailwind
colors: {
  custom: {
    50: '#a8a364',
    500: '#807f21',
    950: '#000000',
  },
}
SCSS
$custom: #807f21;
$custom-light: #a8a364;
$custom-dark: #000000;
JSON
{
  "hex": "#807f21",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 33
  },
  "hsl": {
    "h": 59.368,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5797,
    "c": 0.11243,
    "h": 108.8
  },
  "luminance": 0.19878
}

Semantic roles & 50–950 ramp

primary
#807F21
secondary
#4A4BB3
accent
#47E246
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #807F21

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

Preview Lab → · Contrast checker → · Palette generator →

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