#848A22#848A22

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

Color values

HEX#848A22
RGBrgb(132, 138, 34)
HSLhsl(63, 60%, 34%)
HSVhsv(63, 75%, 54%)
CMYKcmyk(4.3%, 0%, 75.4%, 45.9%)
CIE-LABlab(55.28, -15.42, 51.29)
CIE-LCHlch(55.28, 53.56, 106.73°)
OKLaboklab(60.92% -0.0477 0.1131)
OKLCHoklch(60.92% 0.123 112.8)
XYZxyz(18.8935, 23.1984, 4.9955)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848A22 #28228A
analogous
#8A5C22 #848A22 #508A22
triadic
#848A22 #22848A #8A2284
tetradic
#848A22 #228A5C #28228A #8A2250
square
#848A22 #228A5C #28228A #8A2250
split-complementary
#848A22 #22508A #5C228A
monochromatic
#26280A #555916 #848A22 #B3BB2E #CDD452

Accessibility & contrast

On white

3.72
#848A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#848A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848A22
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848A22#FFFFFF#000000##000000
##848A221.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830C
Deuteranopia (green-blind)
#95852B
Tritanopia (blue-blind)
#8D8176
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #848a22;
/* rgb */ color: rgb(132, 138, 34);
/* oklch */ color: oklch(60.9% 0.123 112.8);
Tailwind
colors: {
  custom: {
    50: '#abac66',
    500: '#848a22',
    950: '#000000',
  },
}
SCSS
$custom: #848a22;
$custom-light: #abac66;
$custom-dark: #000000;
JSON
{
  "hex": "#848a22",
  "rgb": {
    "r": 132,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 63.462,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60916,
    "c": 0.12277,
    "h": 112.8
  },
  "luminance": 0.23198
}

Semantic roles & 50–950 ramp

primary
#848A22
secondary
#5650B8
accent
#44E44D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848A22

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

Preview Lab → · Contrast checker → · Palette generator →

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