#808E27#808E27

#808E27 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.6% C 0.126 H 117.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#808E27
RGBrgb(128, 142, 39)
HSLhsl(68, 57%, 35%)
HSVhsv(68, 73%, 56%)
CMYKcmyk(9.9%, 0%, 72.5%, 44.3%)
CIE-LABlab(56.17, -19.02, 50.19)
CIE-LCHlch(56.17, 53.67, 110.76°)
OKLaboklab(61.56% -0.057 0.1118)
OKLCHoklch(61.56% 0.126 117)
XYZxyz(18.9417, 24.0819, 5.5695)
Luminance0.2408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E27 #35278E
analogous
#8E6827 #808E27 #4D8E27
triadic
#808E27 #27808E #8E2780
tetradic
#808E27 #278E68 #35278E #8E274D
square
#808E27 #278E68 #35278E #8E274D
split-complementary
#808E27 #274D8E #68278E
monochromatic
#292E0D #555E1A #808E27 #ABBE34 #C3D25D

Accessibility & contrast

On white

3.61
#808E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#808E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808E27
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808E27#FFFFFF#000000##000000
##808E271.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988615
Deuteranopia (green-blind)
#97872F
Tritanopia (blue-blind)
#88867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808e27;
/* rgb */ color: rgb(128, 142, 39);
/* oklch */ color: oklch(61.6% 0.126 117.0);
Tailwind
colors: {
  custom: {
    50: '#a8af68',
    500: '#808e27',
    950: '#000000',
  },
}
SCSS
$custom: #808e27;
$custom-light: #a8af68;
$custom-dark: #000000;
JSON
{
  "hex": "#808e27",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 68.155,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61563,
    "c": 0.12551,
    "h": 117
  },
  "luminance": 0.24082
}

Semantic roles & 50–950 ramp

primary
#808E27
secondary
#6659B8
accent
#48E05C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808E27

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

Preview Lab → · Contrast checker → · Palette generator →

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