#848E1F#848E1F

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

Color values

HEX#848E1F
RGBrgb(132, 142, 31)
HSLhsl(65, 64%, 34%)
HSVhsv(65, 78%, 56%)
CMYKcmyk(7%, 0%, 78.2%, 44.3%)
CIE-LABlab(56.44, -17.65, 53.40)
CIE-LCHlch(56.44, 56.25, 108.29°)
OKLaboklab(61.84% -0.0541 0.1171)
OKLCHoklch(61.84% 0.129 114.8)
XYZxyz(19.4366, 24.3508, 4.9723)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848E1F #291F8E
analogous
#8E611F #848E1F #4D8E1F
triadic
#848E1F #1F848E #8E1F84
tetradic
#848E1F #1F8E61 #291F8E #8E1F4D
square
#848E1F #1F8E61 #291F8E #8E1F4D
split-complementary
#848E1F #1F4D8E #611F8E
monochromatic
#272A09 #555C14 #848E1F #B3C02A #CCD94F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##848E1F#FFFFFF#000000##000000
##848E1F1.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)
#998702
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#8D8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #848e1f;
/* rgb */ color: rgb(132, 142, 31);
/* oklch */ color: oklch(61.8% 0.129 114.8);
Tailwind
colors: {
  custom: {
    50: '#abae65',
    500: '#848e1f',
    950: '#000000',
  },
}
SCSS
$custom: #848e1f;
$custom-light: #abae65;
$custom-dark: #000000;
JSON
{
  "hex": "#848e1f",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 65.405,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61842,
    "c": 0.12897,
    "h": 114.8
  },
  "luminance": 0.2435
}

Semantic roles & 50–950 ramp

primary
#848E1F
secondary
#574DBB
accent
#41E750
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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