#868B1C#868B1C

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

Color values

HEX#868B1C
RGBrgb(134, 139, 28)
HSLhsl(63, 66%, 33%)
HSVhsv(63, 80%, 55%)
CMYKcmyk(3.6%, 0%, 79.9%, 45.5%)
CIE-LABlab(55.70, -15.31, 53.76)
CIE-LCHlch(55.70, 55.90, 105.90°)
OKLaboklab(61.29% -0.048 0.1172)
OKLCHoklch(61.29% 0.127 112.3)
XYZxyz(19.2744, 23.6179, 4.6418)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868B1C #211C8B
analogous
#8B591C #868B1C #4E8B1C
triadic
#868B1C #1C868B #8B1C86
tetradic
#868B1C #1C8B59 #211C8B #8B1C4E
square
#868B1C #1C8B59 #211C8B #8B1C4E
split-complementary
#868B1C #1C4E8B #591C8B
monochromatic
#242507 #555812 #868B1C #B7BE26 #D3DA47

Accessibility & contrast

On white

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

On black

5.72
#868B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868B1C
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868B1C#FFFFFF#000000##000000
##868B1C1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#968726
Tritanopia (blue-blind)
#908277
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #868b1c;
/* rgb */ color: rgb(134, 139, 28);
/* oklch */ color: oklch(61.3% 0.127 112.3);
Tailwind
colors: {
  custom: {
    50: '#adac63',
    500: '#868b1c',
    950: '#000000',
  },
}
SCSS
$custom: #868b1c;
$custom-light: #adac63;
$custom-dark: #000000;
JSON
{
  "hex": "#868b1c",
  "rgb": {
    "r": 134,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 62.703,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61289,
    "c": 0.12662,
    "h": 112.3
  },
  "luminance": 0.23617
}

Semantic roles & 50–950 ramp

primary
#868B1C
secondary
#4C47BC
accent
#3EE946
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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