#868F22#868F22

#868F22 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.128 H 114.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#868F22
RGBrgb(134, 143, 34)
HSLhsl(65, 62%, 35%)
HSVhsv(65, 76%, 56%)
CMYKcmyk(6.3%, 0%, 76.2%, 43.9%)
CIE-LABlab(56.91, -17.15, 52.89)
CIE-LCHlch(56.91, 55.60, 107.96°)
OKLaboklab(62.27% -0.0526 0.1164)
OKLCHoklch(62.27% 0.128 114.3)
XYZxyz(19.9433, 24.8291, 5.2550)
Luminance0.2483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868F22 #2B228F
analogous
#8F6222 #868F22 #508F22
triadic
#868F22 #22868F #8F2286
tetradic
#868F22 #228F62 #2B228F #8F2250
square
#868F22 #228F62 #2B228F #8F2250
split-complementary
#868F22 #22508F #62228F
monochromatic
#292C0A #585E16 #868F22 #B4C02E #CCD755

Accessibility & contrast

On white

3.52
#868F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#868F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868F22
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868F22#FFFFFF#000000##000000
##868F221.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8809
Deuteranopia (green-blind)
#998A2B
Tritanopia (blue-blind)
#8F867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #868f22;
/* rgb */ color: rgb(134, 143, 34);
/* oklch */ color: oklch(62.3% 0.128 114.3);
Tailwind
colors: {
  custom: {
    50: '#acaf66',
    500: '#868f22',
    950: '#000000',
  },
}
SCSS
$custom: #868f22;
$custom-light: #acaf66;
$custom-dark: #000000;
JSON
{
  "hex": "#868f22",
  "rgb": {
    "r": 134,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 64.954,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62265,
    "c": 0.12776,
    "h": 114.3
  },
  "luminance": 0.24829
}

Semantic roles & 50–950 ramp

primary
#868F22
secondary
#5B52BA
accent
#43E550
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868F22

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

Preview Lab → · Contrast checker → · Palette generator →

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