#868E1C#868E1C

#868E1C is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 62.0% C 0.130 H 113.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#868E1C
RGBrgb(134, 142, 28)
HSLhsl(64, 67%, 33%)
HSVhsv(64, 80%, 56%)
CMYKcmyk(5.6%, 0%, 80.3%, 44.3%)
CIE-LABlab(56.58, -16.89, 54.55)
CIE-LCHlch(56.58, 57.10, 107.20°)
OKLaboklab(61.99% -0.0524 0.1189)
OKLCHoklch(61.99% 0.13 113.8)
XYZxyz(19.7147, 24.4986, 4.7885)
Luminance0.2450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868E1C #241C8E
analogous
#8E5D1C #868E1C #4D8E1C
triadic
#868E1C #1C868E #8E1C86
tetradic
#868E1C #1C8E5D #241C8E #8E1C4D
square
#868E1C #1C8E5D #241C8E #8E1C4D
split-complementary
#868E1C #1C4D8E #5D1C8E
monochromatic
#262808 #565B12 #868E1C #B6C126 #D1DB49

Accessibility & contrast

On white

3.56
#868E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#868E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868E1C
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868E1C#FFFFFF#000000##000000
##868E1C1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#998927
Tritanopia (blue-blind)
#8F8579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868e1c;
/* rgb */ color: rgb(134, 142, 28);
/* oklch */ color: oklch(62.0% 0.130 113.8);
Tailwind
colors: {
  custom: {
    50: '#adae63',
    500: '#868e1c',
    950: '#000000',
  },
}
SCSS
$custom: #868e1c;
$custom-light: #adae63;
$custom-dark: #000000;
JSON
{
  "hex": "#868e1c",
  "rgb": {
    "r": 134,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 64.211,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61994,
    "c": 0.12989,
    "h": 113.8
  },
  "luminance": 0.24498
}

Semantic roles & 50–950 ramp

primary
#868E1C
secondary
#5149BD
accent
#3EEA4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868E1C

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

Preview Lab → · Contrast checker → · Palette generator →

#868E1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva