#868E1E#868E1E

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

Color values

HEX#868E1E
RGBrgb(134, 142, 30)
HSLhsl(64, 65%, 34%)
HSVhsv(64, 79%, 56%)
CMYKcmyk(5.6%, 0%, 78.9%, 44.3%)
CIE-LABlab(56.59, -16.80, 53.93)
CIE-LCHlch(56.59, 56.49, 107.31°)
OKLaboklab(62.01% -0.052 0.1179)
OKLCHoklch(62.01% 0.129 113.8)
XYZxyz(19.7395, 24.5085, 4.9188)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868E1E #261E8E
analogous
#8E5E1E #868E1E #4E8E1E
triadic
#868E1E #1E868E #8E1E86
tetradic
#868E1E #1E8E5E #261E8E #8E1E4E
square
#868E1E #1E8E5E #261E8E #8E1E4E
split-complementary
#868E1E #1E4E8E #5E1E8E
monochromatic
#272909 #565B13 #868E1E #B6C129 #CFD94D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##868E1E#FFFFFF#000000##000000
##868E1E1.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)
#998928
Tritanopia (blue-blind)
#8F8579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868e1e;
/* rgb */ color: rgb(134, 142, 30);
/* oklch */ color: oklch(62.0% 0.129 113.8);
Tailwind
colors: {
  custom: {
    50: '#adae64',
    500: '#868e1e',
    950: '#000000',
  },
}
SCSS
$custom: #868e1e;
$custom-light: #adae64;
$custom-dark: #000000;
JSON
{
  "hex": "#868e1e",
  "rgb": {
    "r": 134,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 64.286,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62005,
    "c": 0.12886,
    "h": 113.8
  },
  "luminance": 0.24508
}

Semantic roles & 50–950 ramp

primary
#868E1E
secondary
#544CBC
accent
#40E84C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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