#848E24#848E24

#848E24 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.9% C 0.126 H 114.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#848E24
RGBrgb(132, 142, 36)
HSLhsl(66, 60%, 35%)
HSVhsv(66, 75%, 56%)
CMYKcmyk(7%, 0%, 74.6%, 44.3%)
CIE-LABlab(56.47, -17.42, 51.70)
CIE-LCHlch(56.47, 54.56, 108.62°)
OKLaboklab(61.87% -0.053 0.1144)
OKLCHoklch(61.87% 0.126 114.9)
XYZxyz(19.5077, 24.3793, 5.3467)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E24 #2E248E
analogous
#8E6324 #848E24 #4F8E24
triadic
#848E24 #24848E #8E2484
tetradic
#848E24 #248E63 #2E248E #8E244F
square
#848E24 #248E63 #2E248E #8E244F
split-complementary
#848E24 #244F8E #63248E
monochromatic
#292C0B #575D18 #848E24 #B1BF30 #C9D558

Accessibility & contrast

On white

3.57
#848E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#848E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848E24
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848E24#FFFFFF#000000##000000
##848E241.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)
#98870F
Deuteranopia (green-blind)
#98882D
Tritanopia (blue-blind)
#8D857A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #848e24;
/* rgb */ color: rgb(132, 142, 36);
/* oklch */ color: oklch(61.9% 0.126 114.9);
Tailwind
colors: {
  custom: {
    50: '#abae67',
    500: '#848e24',
    950: '#000000',
  },
}
SCSS
$custom: #848e24;
$custom-light: #abae67;
$custom-dark: #000000;
JSON
{
  "hex": "#848e24",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 65.66,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61873,
    "c": 0.12607,
    "h": 114.9
  },
  "luminance": 0.24379
}

Semantic roles & 50–950 ramp

primary
#848E24
secondary
#5E55B9
accent
#45E354
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848E24

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

Preview Lab → · Contrast checker → · Palette generator →

#848E24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva