#868B22#868B22

#868B22 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.3% C 0.123 H 112.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#868B22
RGBrgb(134, 139, 34)
HSLhsl(63, 61%, 34%)
HSVhsv(63, 76%, 55%)
CMYKcmyk(3.6%, 0%, 75.5%, 45.5%)
CIE-LABlab(55.74, -15.05, 51.78)
CIE-LCHlch(55.74, 53.93, 106.20°)
OKLaboklab(61.32% -0.0467 0.1141)
OKLCHoklch(61.32% 0.123 112.3)
XYZxyz(19.3535, 23.6495, 5.0584)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868B22 #27228B
analogous
#8B5C22 #868B22 #528B22
triadic
#868B22 #22868B #8B2286
tetradic
#868B22 #228B5C #27228B #8B2252
square
#868B22 #228B5C #27228B #8B2252
split-complementary
#868B22 #22528B #5C228B
monochromatic
#27290A #575A16 #868B22 #B5BC2E #CFD553

Accessibility & contrast

On white

3.67
#868B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#868B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868B22
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868B22#FFFFFF#000000##000000
##868B221.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840B
Deuteranopia (green-blind)
#96872B
Tritanopia (blue-blind)
#8F8277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #868b22;
/* rgb */ color: rgb(134, 139, 34);
/* oklch */ color: oklch(61.3% 0.123 112.3);
Tailwind
colors: {
  custom: {
    50: '#acac66',
    500: '#868b22',
    950: '#000000',
  },
}
SCSS
$custom: #868b22;
$custom-light: #acac66;
$custom-dark: #000000;
JSON
{
  "hex": "#868b22",
  "rgb": {
    "r": 134,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 62.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61324,
    "c": 0.12332,
    "h": 112.3
  },
  "luminance": 0.23649
}

Semantic roles & 50–950 ramp

primary
#868B22
secondary
#5550B8
accent
#44E44C
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868B22

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

Preview Lab → · Contrast checker → · Palette generator →

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