#868E28#868E28

#868E28 is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.1% C 0.123 H 113.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#868E28
RGBrgb(134, 142, 40)
HSLhsl(65, 56%, 36%)
HSVhsv(65, 72%, 56%)
CMYKcmyk(5.6%, 0%, 71.8%, 44.3%)
CIE-LABlab(56.65, -16.32, 50.44)
CIE-LCHlch(56.65, 53.01, 107.93°)
OKLaboklab(62.07% -0.0497 0.1124)
OKLCHoklch(62.07% 0.123 113.9)
XYZxyz(19.8881, 24.5679, 5.7015)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868E28 #30288E
analogous
#8E6328 #868E28 #538E28
triadic
#868E28 #28868E #8E2886
tetradic
#868E28 #288E63 #30288E #8E2853
square
#868E28 #288E63 #30288E #8E2853
split-complementary
#868E28 #28538E #63288E
monochromatic
#2C2F0D #595E1B #868E28 #B3BE35 #C9D25F

Accessibility & contrast

On white

3.55
#868E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#868E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868E28
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868E28#FFFFFF#000000##000000
##868E281.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998717
Deuteranopia (green-blind)
#988930
Tritanopia (blue-blind)
#8F857A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868e28;
/* rgb */ color: rgb(134, 142, 40);
/* oklch */ color: oklch(62.1% 0.123 113.9);
Tailwind
colors: {
  custom: {
    50: '#acae69',
    500: '#868e28',
    950: '#000000',
  },
}
SCSS
$custom: #868e28;
$custom-light: #acae69;
$custom-dark: #000000;
JSON
{
  "hex": "#868e28",
  "rgb": {
    "r": 134,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 64.706,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62071,
    "c": 0.12286,
    "h": 113.9
  },
  "luminance": 0.24568
}

Semantic roles & 50–950 ramp

primary
#868E28
secondary
#625BB7
accent
#48DF54
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #868E28

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

Preview Lab → · Contrast checker → · Palette generator →

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