#867A18#867A18

#867A18 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.3% C 0.112 H 101.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#867A18
RGBrgb(134, 122, 24)
HSLhsl(53, 70%, 31%)
HSVhsv(53, 82%, 53%)
CMYKcmyk(0%, 9%, 82.1%, 47.5%)
CIE-LABlab(50.75, -6.24, 50.61)
CIE-LCHlch(50.75, 50.99, 97.03°)
OKLaboklab(57.33% -0.0231 0.1096)
OKLCHoklch(57.33% 0.112 101.9)
XYZxyz(16.9567, 19.0541, 3.6486)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867A18 #182486
analogous
#864318 #867A18 #5B8618
triadic
#867A18 #18867A #7A1886
tetradic
#867A18 #188643 #182486 #86185B
square
#867A18 #188643 #182486 #86185B
split-complementary
#867A18 #185B86 #431886
monochromatic
#1E1B05 #524B0F #867A18 #BAA921 #DCCB3C

Accessibility & contrast

On white

4.37
#867A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#867A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867A18
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867A18#FFFFFF#000000##000000
##867A181.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#8A7B20
Tritanopia (blue-blind)
#917168
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #867a18;
/* rgb */ color: rgb(134, 122, 24);
/* oklch */ color: oklch(57.3% 0.112 101.9);
Tailwind
colors: {
  custom: {
    50: '#ada05f',
    500: '#867a18',
    950: '#000000',
  },
}
SCSS
$custom: #867a18;
$custom-light: #ada05f;
$custom-dark: #000000;
JSON
{
  "hex": "#867a18",
  "rgb": {
    "r": 134,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 53.455,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57331,
    "c": 0.11202,
    "h": 101.9
  },
  "luminance": 0.19053
}

Semantic roles & 50–950 ramp

primary
#867A18
secondary
#404DBA
accent
#4FEC3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #867A18

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

Preview Lab → · Contrast checker → · Palette generator →

#867A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva