#848A1B#848A1B

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

Color values

HEX#848A1B
RGBrgb(132, 138, 27)
HSLhsl(63, 67%, 32%)
HSVhsv(63, 80%, 54%)
CMYKcmyk(4.3%, 0%, 80.4%, 45.9%)
CIE-LABlab(55.24, -15.73, 53.59)
CIE-LCHlch(55.24, 55.85, 106.35°)
OKLaboklab(60.87% -0.0491 0.1167)
OKLCHoklch(60.87% 0.127 112.8)
XYZxyz(18.8027, 23.1621, 4.5169)
Luminance0.2316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848A1B #211B8A
analogous
#8A581B #848A1B #4D8A1B
triadic
#848A1B #1B848A #8A1B84
tetradic
#848A1B #1B8A58 #211B8A #8A1B4D
square
#848A1B #1B8A58 #211B8A #8A1B4D
split-complementary
#848A1B #1B4D8A #581B8A
monochromatic
#222407 #535711 #848A1B #B5BD25 #D2DB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848A1B#FFFFFF#000000##000000
##848A1B1.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)
#958525
Tritanopia (blue-blind)
#8D8176
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #848a1b;
/* rgb */ color: rgb(132, 138, 27);
/* oklch */ color: oklch(60.9% 0.127 112.8);
Tailwind
colors: {
  custom: {
    50: '#abac62',
    500: '#848a1b',
    950: '#000000',
  },
}
SCSS
$custom: #848a1b;
$custom-light: #abac62;
$custom-dark: #000000;
JSON
{
  "hex": "#848a1b",
  "rgb": {
    "r": 132,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 63.243,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60874,
    "c": 0.12663,
    "h": 112.8
  },
  "luminance": 0.23162
}

Semantic roles & 50–950 ramp

primary
#848A1B
secondary
#4B45BC
accent
#3EEA47
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #848A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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