#848A1C#848A1C

#848A1C is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 60.9% C 0.126 H 112.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#848A1C
RGBrgb(132, 138, 28)
HSLhsl(63, 66%, 33%)
HSVhsv(63, 80%, 54%)
CMYKcmyk(4.3%, 0%, 79.7%, 45.9%)
CIE-LABlab(55.24, -15.69, 53.28)
CIE-LCHlch(55.24, 55.55, 106.40°)
OKLaboklab(60.88% -0.0489 0.1162)
OKLCHoklch(60.88% 0.126 112.8)
XYZxyz(18.8144, 23.1668, 4.5789)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848A1C #221C8A
analogous
#8A591C #848A1C #4D8A1C
triadic
#848A1C #1C848A #8A1C84
tetradic
#848A1C #1C8A59 #221C8A #8A1C4D
square
#848A1C #1C8A59 #221C8A #8A1C4D
split-complementary
#848A1C #1C4D8A #591C8A
monochromatic
#232407 #535712 #848A1C #B5BD26 #D2DA47

Accessibility & contrast

On white

3.73
#848A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#848A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848A1C
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848A1C#FFFFFF#000000##000000
##848A1C1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#958526
Tritanopia (blue-blind)
#8D8176
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #848a1c;
/* rgb */ color: rgb(132, 138, 28);
/* oklch */ color: oklch(60.9% 0.126 112.8);
Tailwind
colors: {
  custom: {
    50: '#abac63',
    500: '#848a1c',
    950: '#000000',
  },
}
SCSS
$custom: #848a1c;
$custom-light: #abac63;
$custom-dark: #000000;
JSON
{
  "hex": "#848a1c",
  "rgb": {
    "r": 132,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 63.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.6088,
    "c": 0.12612,
    "h": 112.8
  },
  "luminance": 0.23166
}

Semantic roles & 50–950 ramp

primary
#848A1C
secondary
#4D46BB
accent
#3FE948
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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