#808F27#808F27

#808F27 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.8% C 0.127 H 117.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#808F27
RGBrgb(128, 143, 39)
HSLhsl(69, 57%, 36%)
HSVhsv(69, 73%, 56%)
CMYKcmyk(10.5%, 0%, 72.7%, 43.9%)
CIE-LABlab(56.47, -19.54, 50.48)
CIE-LCHlch(56.47, 54.13, 111.16°)
OKLaboklab(61.8% -0.0584 0.1125)
OKLCHoklch(61.8% 0.127 117.4)
XYZxyz(19.0912, 24.3808, 5.6193)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F27 #36278F
analogous
#8F6A27 #808F27 #4C8F27
triadic
#808F27 #27808F #8F2780
tetradic
#808F27 #278F6A #36278F #8F274C
square
#808F27 #278F6A #36278F #8F274C
split-complementary
#808F27 #274C8F #6A278F
monochromatic
#2A2F0D #555F1A #808F27 #ABBF34 #C2D35D

Accessibility & contrast

On white

3.57
#808F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#808F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808F27
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808F27#FFFFFF#000000##000000
##808F271.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998715
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#88877B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808f27;
/* rgb */ color: rgb(128, 143, 39);
/* oklch */ color: oklch(61.8% 0.127 117.4);
Tailwind
colors: {
  custom: {
    50: '#a8af69',
    500: '#808f27',
    950: '#000000',
  },
}
SCSS
$custom: #808f27;
$custom-light: #a8af69;
$custom-dark: #000000;
JSON
{
  "hex": "#808f27",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 68.654,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61802,
    "c": 0.12672,
    "h": 117.4
  },
  "luminance": 0.24381
}

Semantic roles & 50–950 ramp

primary
#808F27
secondary
#675AB8
accent
#47E05D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808F27

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

Preview Lab → · Contrast checker → · Palette generator →

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