#848E1A#848E1A

#848E1A 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#848E1A
RGBrgb(132, 142, 26)
HSLhsl(65, 69%, 33%)
HSVhsv(65, 82%, 56%)
CMYKcmyk(7%, 0%, 81.7%, 44.3%)
CIE-LABlab(56.41, -17.86, 54.93)
CIE-LCHlch(56.41, 57.76, 108.01°)
OKLaboklab(61.82% -0.0551 0.1194)
OKLCHoklch(61.82% 0.131 114.8)
XYZxyz(19.3758, 24.3265, 4.6519)
Luminance0.2433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E1A #241A8E
analogous
#8E5E1A #848E1A #4A8E1A
triadic
#848E1A #1A848E #8E1A84
tetradic
#848E1A #1A8E5E #241A8E #8E1A4A
square
#848E1A #1A8E5E #241A8E #8E1A4A
split-complementary
#848E1A #1A4A8E #5E1A8E
monochromatic
#242707 #545A11 #848E1A #B4C223 #D0DD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #848e1a;
/* rgb */ color: rgb(132, 142, 26);
/* oklch */ color: oklch(61.8% 0.131 114.8);
Tailwind
colors: {
  custom: {
    50: '#abae63',
    500: '#848e1a',
    950: '#000000',
  },
}
SCSS
$custom: #848e1a;
$custom-light: #abae63;
$custom-dark: #000000;
JSON
{
  "hex": "#848e1a",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 65.172,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61815,
    "c": 0.13149,
    "h": 114.8
  },
  "luminance": 0.24326
}

Semantic roles & 50–950 ramp

primary
#848E1A
secondary
#5045BE
accent
#3CEC4B
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #848E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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