#848E2B#848E2B

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

Color values

HEX#848E2B
RGBrgb(132, 142, 43)
HSLhsl(66, 54%, 36%)
HSVhsv(66, 70%, 56%)
CMYKcmyk(7%, 0%, 69.7%, 44.3%)
CIE-LABlab(56.51, -17.03, 49.06)
CIE-LCHlch(56.51, 51.93, 109.14°)
OKLaboklab(61.93% -0.0513 0.11)
OKLCHoklch(61.93% 0.121 115)
XYZxyz(19.6253, 24.4263, 5.9659)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E2B #352B8E
analogous
#8E672B #848E2B #538E2B
triadic
#848E2B #2B848E #8E2B84
tetradic
#848E2B #2B8E67 #352B8E #8E2B53
square
#848E2B #2B8E67 #352B8E #8E2B53
split-complementary
#848E2B #2B538E #672B8E
monochromatic
#2D300F #585F1D #848E2B #B0BD39 #C5D063

Accessibility & contrast

On white

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

On black

5.89
#848E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848E2B
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848E2B#FFFFFF#000000##000000
##848E2B1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871C
Deuteranopia (green-blind)
#988832
Tritanopia (blue-blind)
#8D867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #848e2b;
/* rgb */ color: rgb(132, 142, 43);
/* oklch */ color: oklch(61.9% 0.121 115.0);
Tailwind
colors: {
  custom: {
    50: '#abaf6b',
    500: '#848e2b',
    950: '#000000',
  },
}
SCSS
$custom: #848e2b;
$custom-light: #abaf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#848e2b",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 66.061,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61925,
    "c": 0.12138,
    "h": 115
  },
  "luminance": 0.24426
}

Semantic roles & 50–950 ramp

primary
#848E2B
secondary
#685FB6
accent
#4BDD5A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #848E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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