#848A17#848A17

#848A17 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.9% C 0.128 H 112.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#848A17
RGBrgb(132, 138, 23)
HSLhsl(63, 71%, 32%)
HSVhsv(63, 83%, 54%)
CMYKcmyk(4.3%, 0%, 83.3%, 45.9%)
CIE-LABlab(55.22, -15.87, 54.74)
CIE-LCHlch(55.22, 57.00, 106.17°)
OKLaboklab(60.86% -0.0498 0.1184)
OKLCHoklch(60.86% 0.128 112.8)
XYZxyz(18.7595, 23.1448, 4.2896)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848A17 #1D178A
analogous
#8A5717 #848A17 #4B8A17
triadic
#848A17 #17848A #8A1784
tetradic
#848A17 #178A57 #1D178A #8A174B
square
#848A17 #178A57 #1D178A #8A174B
split-complementary
#848A17 #174B8A #57178A
monochromatic
#202106 #52560E #848A17 #B6BE20 #D6DF3D

Accessibility & contrast

On white

3.73
#848A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#848A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848A17
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848A17#FFFFFF#000000##000000
##848A171.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#8E8175
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #848a17;
/* rgb */ color: rgb(132, 138, 23);
/* oklch */ color: oklch(60.9% 0.128 112.8);
Tailwind
colors: {
  custom: {
    50: '#abab61',
    500: '#848a17',
    950: '#000000',
  },
}
SCSS
$custom: #848a17;
$custom-light: #abab61;
$custom-dark: #000000;
JSON
{
  "hex": "#848a17",
  "rgb": {
    "r": 132,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 63.13,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60855,
    "c": 0.12849,
    "h": 112.8
  },
  "luminance": 0.23144
}

Semantic roles & 50–950 ramp

primary
#848A17
secondary
#463FBE
accent
#3AEE43
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #848A17

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

Preview Lab → · Contrast checker → · Palette generator →

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