#848B1F#848B1F

#848B1F is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.1% C 0.126 H 113.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#848B1F
RGBrgb(132, 139, 31)
HSLhsl(64, 64%, 33%)
HSVhsv(64, 78%, 55%)
CMYKcmyk(5%, 0%, 77.7%, 45.5%)
CIE-LABlab(55.55, -16.08, 52.59)
CIE-LCHlch(55.55, 55.00, 107.01°)
OKLaboklab(61.13% -0.0498 0.1153)
OKLCHoklch(61.13% 0.126 113.4)
XYZxyz(18.9963, 23.4701, 4.8256)
Luminance0.2347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848B1F #261F8B
analogous
#8B5C1F #848B1F #4E8B1F
triadic
#848B1F #1F848B #8B1F84
tetradic
#848B1F #1F8B5C #261F8B #8B1F4E
square
#848B1F #1F8B5C #261F8B #8B1F4E
split-complementary
#848B1F #1F4E8B #5C1F8B
monochromatic
#252709 #545914 #848B1F #B4BD2A #CED74D

Accessibility & contrast

On white

3.69
#848B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#848B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848B1F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848B1F#FFFFFF#000000##000000
##848B1F1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968404
Deuteranopia (green-blind)
#968628
Tritanopia (blue-blind)
#8D8277
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #848b1f;
/* rgb */ color: rgb(132, 139, 31);
/* oklch */ color: oklch(61.1% 0.126 113.4);
Tailwind
colors: {
  custom: {
    50: '#abac64',
    500: '#848b1f',
    950: '#000000',
  },
}
SCSS
$custom: #848b1f;
$custom-light: #abac64;
$custom-dark: #000000;
JSON
{
  "hex": "#848b1f",
  "rgb": {
    "r": 132,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 63.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61133,
    "c": 0.12562,
    "h": 113.4
  },
  "luminance": 0.2347
}

Semantic roles & 50–950 ramp

primary
#848B1F
secondary
#534CBA
accent
#41E74C
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #848B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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