#868B23#868B23

#868B23 is a mid, vivid yellow. Relative luminance 0.237; 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#868B23
RGBrgb(134, 139, 35)
HSLhsl(63, 60%, 34%)
HSVhsv(63, 75%, 55%)
CMYKcmyk(3.6%, 0%, 74.8%, 45.5%)
CIE-LABlab(55.74, -15.00, 51.43)
CIE-LCHlch(55.74, 53.57, 106.26°)
OKLaboklab(61.33% -0.0465 0.1136)
OKLCHoklch(61.33% 0.123 112.3)
XYZxyz(19.3681, 23.6554, 5.1355)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868B23 #28238B
analogous
#8B5C23 #868B23 #528B23
triadic
#868B23 #23868B #8B2386
tetradic
#868B23 #238B5C #28238B #8B2352
square
#868B23 #238B5C #28238B #8B2352
split-complementary
#868B23 #23528B #5C238B
monochromatic
#28290A #575A17 #868B23 #B5BC2F #CED454

Accessibility & contrast

On white

3.66
#868B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##868B23#FFFFFF#000000##000000
##868B231.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #868b23;
/* rgb */ color: rgb(134, 139, 35);
/* oklch */ color: oklch(61.3% 0.123 112.3);
Tailwind
colors: {
  custom: {
    50: '#acac66',
    500: '#868b23',
    950: '#000000',
  },
}
SCSS
$custom: #868b23;
$custom-light: #acac66;
$custom-dark: #000000;
JSON
{
  "hex": "#868b23",
  "rgb": {
    "r": 134,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 62.885,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61331,
    "c": 0.12271,
    "h": 112.3
  },
  "luminance": 0.23655
}

Semantic roles & 50–950 ramp

primary
#868B23
secondary
#5752B8
accent
#45E34C
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868B23

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

Preview Lab → · Contrast checker → · Palette generator →

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