#808F25#808F25

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

Color values

HEX#808F25
RGBrgb(128, 143, 37)
HSLhsl(68, 59%, 35%)
HSVhsv(68, 74%, 56%)
CMYKcmyk(10.5%, 0%, 74.1%, 43.9%)
CIE-LABlab(56.45, -19.65, 51.22)
CIE-LCHlch(56.45, 54.86, 110.99°)
OKLaboklab(61.79% -0.0589 0.1137)
OKLCHoklch(61.79% 0.128 117.4)
XYZxyz(19.0589, 24.3679, 5.4494)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F25 #34258F
analogous
#8F6925 #808F25 #4B8F25
triadic
#808F25 #25808F #8F2580
tetradic
#808F25 #258F69 #34258F #8F254B
square
#808F25 #258F69 #34258F #8F254B
split-complementary
#808F25 #254B8F #69258F
monochromatic
#292E0C #545E18 #808F25 #ACC032 #C3D45A

Accessibility & contrast

On white

3.58
#808F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#808F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808F25
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808F25#FFFFFF#000000##000000
##808F251.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #808f25;
/* rgb */ color: rgb(128, 143, 37);
/* oklch */ color: oklch(61.8% 0.128 117.4);
Tailwind
colors: {
  custom: {
    50: '#a8af68',
    500: '#808f25',
    950: '#000000',
  },
}
SCSS
$custom: #808f25;
$custom-light: #a8af68;
$custom-dark: #000000;
JSON
{
  "hex": "#808f25",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 68.491,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61788,
    "c": 0.12801,
    "h": 117.4
  },
  "luminance": 0.24368
}

Semantic roles & 50–950 ramp

primary
#808F25
secondary
#6557B9
accent
#46E25C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808F25

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

Preview Lab → · Contrast checker → · Palette generator →

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