#838E17#838E17

#838E17 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.7% C 0.133 H 115.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#838E17
RGBrgb(131, 142, 23)
HSLhsl(66, 72%, 32%)
HSVhsv(66, 84%, 56%)
CMYKcmyk(7.7%, 0%, 83.8%, 44.3%)
CIE-LABlab(56.32, -18.41, 55.66)
CIE-LCHlch(56.32, 58.63, 108.30°)
OKLaboklab(61.72% -0.0568 0.1205)
OKLCHoklch(61.72% 0.133 115.2)
XYZxyz(19.1883, 24.2335, 4.4772)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838E17 #22178E
analogous
#8E5D17 #838E17 #488E17
triadic
#838E17 #17838E #8E1783
tetradic
#838E17 #178E5D #22178E #8E1748
square
#838E17 #178E5D #22178E #8E1748
split-complementary
#838E17 #17488E #5D178E
monochromatic
#222506 #52590E #838E17 #B4C320 #D1E03F

Accessibility & contrast

On white

3.59
#838E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#838E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838E17
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838E17#FFFFFF#000000##000000
##838E171.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#8C8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #838e17;
/* rgb */ color: rgb(131, 142, 23);
/* oklch */ color: oklch(61.7% 0.133 115.2);
Tailwind
colors: {
  custom: {
    50: '#abae61',
    500: '#838e17',
    950: '#000000',
  },
}
SCSS
$custom: #838e17;
$custom-light: #abae61;
$custom-dark: #000000;
JSON
{
  "hex": "#838e17",
  "rgb": {
    "r": 131,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 65.546,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61717,
    "c": 0.13317,
    "h": 115.2
  },
  "luminance": 0.24233
}

Semantic roles & 50–950 ramp

primary
#838E17
secondary
#4C40C0
accent
#39EF4A
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #838E17

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

Preview Lab → · Contrast checker → · Palette generator →

#838E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva