#868A1C#868A1C

#868A1C is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.1% C 0.126 H 111.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#868A1C
RGBrgb(134, 138, 28)
HSLhsl(62, 66%, 33%)
HSVhsv(62, 80%, 54%)
CMYKcmyk(2.9%, 0%, 79.7%, 45.9%)
CIE-LABlab(55.41, -14.78, 53.50)
CIE-LCHlch(55.41, 55.50, 105.45°)
OKLaboklab(61.05% -0.0465 0.1166)
OKLCHoklch(61.05% 0.126 111.8)
XYZxyz(19.1303, 23.3296, 4.5937)
Luminance0.2333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868A1C #201C8A
analogous
#8A571C #868A1C #4F8A1C
triadic
#868A1C #1C868A #8A1C86
tetradic
#868A1C #1C8A57 #201C8A #8A1C4F
square
#868A1C #1C8A57 #201C8A #8A1C4F
split-complementary
#868A1C #1C4F8A #571C8A
monochromatic
#232407 #555712 #868A1C #B7BD26 #D4DA47

Accessibility & contrast

On white

3.71
#868A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#868A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868A1C
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868A1C#FFFFFF#000000##000000
##868A1C1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#908176
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #868a1c;
/* rgb */ color: rgb(134, 138, 28);
/* oklch */ color: oklch(61.1% 0.126 111.8);
Tailwind
colors: {
  custom: {
    50: '#adab63',
    500: '#868a1c',
    950: '#000000',
  },
}
SCSS
$custom: #868a1c;
$custom-light: #adab63;
$custom-dark: #000000;
JSON
{
  "hex": "#868a1c",
  "rgb": {
    "r": 134,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 62.182,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61054,
    "c": 0.12556,
    "h": 111.8
  },
  "luminance": 0.23329
}

Semantic roles & 50–950 ramp

primary
#868A1C
secondary
#4B46BB
accent
#3FE945
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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