#868E15#868E15

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

Color values

HEX#868E15
RGBrgb(134, 142, 21)
HSLhsl(64, 74%, 32%)
HSVhsv(64, 85%, 56%)
CMYKcmyk(5.6%, 0%, 85.2%, 44.3%)
CIE-LABlab(56.55, -17.13, 56.47)
CIE-LCHlch(56.55, 59.01, 106.88°)
OKLaboklab(61.96% -0.0536 0.1217)
OKLCHoklch(61.96% 0.133 113.8)
XYZxyz(19.6405, 24.4689, 4.3977)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868E15 #1D158E
analogous
#8E5A15 #868E15 #4A8E15
triadic
#868E15 #15868E #8E1586
tetradic
#868E15 #158E5A #1D158E #8E154A
square
#868E15 #158E5A #1D158E #8E154A
split-complementary
#868E15 #154A8E #5A158E
monochromatic
#212305 #54590D #868E15 #B8C31D #D7E23B

Accessibility & contrast

On white

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

On black

5.89
#868E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868E15
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868E15#FFFFFF#000000##000000
##868E151.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#998922
Tritanopia (blue-blind)
#908579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868e15;
/* rgb */ color: rgb(134, 142, 21);
/* oklch */ color: oklch(62.0% 0.133 113.8);
Tailwind
colors: {
  custom: {
    50: '#adae61',
    500: '#868e15',
    950: '#000000',
  },
}
SCSS
$custom: #868e15;
$custom-light: #adae61;
$custom-dark: #000000;
JSON
{
  "hex": "#868e15",
  "rgb": {
    "r": 134,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 63.967,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61961,
    "c": 0.13298,
    "h": 113.8
  },
  "luminance": 0.24468
}

Semantic roles & 50–950 ramp

primary
#868E15
secondary
#463DC2
accent
#37F143
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #868E15

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

Preview Lab → · Contrast checker → · Palette generator →

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