#848E1C#848E1C

#848E1C 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#848E1C
RGBrgb(132, 142, 28)
HSLhsl(65, 67%, 33%)
HSVhsv(65, 80%, 56%)
CMYKcmyk(7%, 0%, 80.3%, 44.3%)
CIE-LABlab(56.42, -17.78, 54.34)
CIE-LCHlch(56.42, 57.18, 108.12°)
OKLaboklab(61.83% -0.0547 0.1185)
OKLCHoklch(61.83% 0.131 114.8)
XYZxyz(19.3989, 24.3357, 4.7737)
Luminance0.2434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E1C #261C8E
analogous
#8E5F1C #848E1C #4B8E1C
triadic
#848E1C #1C848E #8E1C84
tetradic
#848E1C #1C8E5F #261C8E #8E1C4B
square
#848E1C #1C8E5F #261C8E #8E1C4B
split-complementary
#848E1C #1C4B8E #5F1C8E
monochromatic
#252808 #545B12 #848E1C #B4C126 #CEDB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #848e1c;
/* rgb */ color: rgb(132, 142, 28);
/* oklch */ color: oklch(61.8% 0.131 114.8);
Tailwind
colors: {
  custom: {
    50: '#abae63',
    500: '#848e1c',
    950: '#000000',
  },
}
SCSS
$custom: #848e1c;
$custom-light: #abae63;
$custom-dark: #000000;
JSON
{
  "hex": "#848e1c",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 65.263,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61825,
    "c": 0.13053,
    "h": 114.8
  },
  "luminance": 0.24335
}

Semantic roles & 50–950 ramp

primary
#848E1C
secondary
#5349BD
accent
#3EEA4D
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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