#848E27#848E27

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

Color values

HEX#848E27
RGBrgb(132, 142, 39)
HSLhsl(66, 57%, 35%)
HSVhsv(66, 73%, 56%)
CMYKcmyk(7%, 0%, 72.5%, 44.3%)
CIE-LABlab(56.48, -17.26, 50.60)
CIE-LCHlch(56.48, 53.47, 108.83°)
OKLaboklab(61.89% -0.0523 0.1126)
OKLCHoklch(61.89% 0.124 114.9)
XYZxyz(19.5555, 24.3984, 5.5983)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E27 #31278E
analogous
#8E6427 #848E27 #508E27
triadic
#848E27 #27848E #8E2784
tetradic
#848E27 #278E64 #31278E #8E2750
square
#848E27 #278E64 #31278E #8E2750
split-complementary
#848E27 #27508E #64278E
monochromatic
#2B2E0D #575E1A #848E27 #B1BE34 #C7D25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848E27#FFFFFF#000000##000000
##848E271.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)
#988715
Deuteranopia (green-blind)
#98882F
Tritanopia (blue-blind)
#8D867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #848e27;
/* rgb */ color: rgb(132, 142, 39);
/* oklch */ color: oklch(61.9% 0.124 114.9);
Tailwind
colors: {
  custom: {
    50: '#abae69',
    500: '#848e27',
    950: '#000000',
  },
}
SCSS
$custom: #848e27;
$custom-light: #abae69;
$custom-dark: #000000;
JSON
{
  "hex": "#848e27",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 65.825,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61894,
    "c": 0.12415,
    "h": 114.9
  },
  "luminance": 0.24398
}

Semantic roles & 50–950 ramp

primary
#848E27
secondary
#6259B8
accent
#48E056
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848E27

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

Preview Lab → · Contrast checker → · Palette generator →

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