#848E1B#848E1B

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

Color values

HEX#848E1B
RGBrgb(132, 142, 27)
HSLhsl(65, 68%, 33%)
HSVhsv(65, 81%, 56%)
CMYKcmyk(7%, 0%, 81%, 44.3%)
CIE-LABlab(56.42, -17.82, 54.64)
CIE-LCHlch(56.42, 57.47, 108.06°)
OKLaboklab(61.82% -0.0549 0.119)
OKLCHoklch(61.82% 0.131 114.8)
XYZxyz(19.3871, 24.3310, 4.7118)
Luminance0.2433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E1B #251B8E
analogous
#8E5E1B #848E1B #4B8E1B
triadic
#848E1B #1B848E #8E1B84
tetradic
#848E1B #1B8E5E #251B8E #8E1B4B
square
#848E1B #1B8E5E #251B8E #8E1B4B
split-complementary
#848E1B #1B4B8E #5E1B8E
monochromatic
#242707 #545B11 #848E1B #B4C125 #CFDC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848E1B#FFFFFF#000000##000000
##848E1B1.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)
#988826
Tritanopia (blue-blind)
#8D8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #848e1b;
/* rgb */ color: rgb(132, 142, 27);
/* oklch */ color: oklch(61.8% 0.131 114.8);
Tailwind
colors: {
  custom: {
    50: '#abae63',
    500: '#848e1b',
    950: '#000000',
  },
}
SCSS
$custom: #848e1b;
$custom-light: #abae63;
$custom-dark: #000000;
JSON
{
  "hex": "#848e1b",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 65.217,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.6182,
    "c": 0.13102,
    "h": 114.8
  },
  "luminance": 0.24331
}

Semantic roles & 50–950 ramp

primary
#848E1B
secondary
#5147BE
accent
#3DEB4C
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #848E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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