#848E1D#848E1D

#848E1D is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.8% C 0.130 H 114.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#848E1D
RGBrgb(132, 142, 29)
HSLhsl(65, 66%, 34%)
HSVhsv(65, 80%, 56%)
CMYKcmyk(7%, 0%, 79.6%, 44.3%)
CIE-LABlab(56.43, -17.74, 54.04)
CIE-LCHlch(56.43, 56.87, 108.17°)
OKLaboklab(61.83% -0.0545 0.118)
OKLCHoklch(61.83% 0.13 114.8)
XYZxyz(19.4111, 24.3406, 4.8378)
Luminance0.2434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E1D #271D8E
analogous
#8E5F1D #848E1D #4B8E1D
triadic
#848E1D #1D848E #8E1D84
tetradic
#848E1D #1D8E5F #271D8E #8E1D4B
square
#848E1D #1D8E5F #271D8E #8E1D4B
split-complementary
#848E1D #1D4B8E #5F1D8E
monochromatic
#262808 #555B13 #848E1D #B3C127 #CEDA4B

Accessibility & contrast

On white

3.58
#848E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#848E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848E1D
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848E1D#FFFFFF#000000##000000
##848E1D1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#8D8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #848e1d;
/* rgb */ color: rgb(132, 142, 29);
/* oklch */ color: oklch(61.8% 0.130 114.8);
Tailwind
colors: {
  custom: {
    50: '#abae64',
    500: '#848e1d',
    950: '#000000',
  },
}
SCSS
$custom: #848e1d;
$custom-light: #abae64;
$custom-dark: #000000;
JSON
{
  "hex": "#848e1d",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 65.31,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.6183,
    "c": 0.13002,
    "h": 114.8
  },
  "luminance": 0.2434
}

Semantic roles & 50–950 ramp

primary
#848E1D
secondary
#544ABD
accent
#3FE94E
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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