#838F17#838F17

#838F17 is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 62.0% C 0.134 H 115.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#838F17
RGBrgb(131, 143, 23)
HSLhsl(66, 72%, 33%)
HSVhsv(66, 84%, 56%)
CMYKcmyk(8.4%, 0%, 83.9%, 43.9%)
CIE-LABlab(56.62, -18.93, 55.92)
CIE-LCHlch(56.62, 59.03, 108.70°)
OKLaboklab(61.95% -0.0582 0.121)
OKLCHoklch(61.95% 0.134 115.7)
XYZxyz(19.3378, 24.5324, 4.5270)
Luminance0.2453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838F17 #23178F
analogous
#8F5F17 #838F17 #478F17
triadic
#838F17 #17838F #8F1783
tetradic
#838F17 #178F5F #23178F #8F1747
square
#838F17 #178F5F #23178F #8F1747
split-complementary
#838F17 #17478F #5F178F
monochromatic
#222606 #535A0F #838F17 #B3C41F #D0E040

Accessibility & contrast

On white

3.56
#838F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#838F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838F17
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838F17#FFFFFF#000000##000000
##838F171.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#998924
Tritanopia (blue-blind)
#8C867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #838f17;
/* rgb */ color: rgb(131, 143, 23);
/* oklch */ color: oklch(62.0% 0.134 115.7);
Tailwind
colors: {
  custom: {
    50: '#abaf61',
    500: '#838f17',
    950: '#000000',
  },
}
SCSS
$custom: #838f17;
$custom-light: #abaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#838f17",
  "rgb": {
    "r": 131,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 66,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61954,
    "c": 0.13428,
    "h": 115.7
  },
  "luminance": 0.24532
}

Semantic roles & 50–950 ramp

primary
#838F17
secondary
#4E41C1
accent
#39EF4B
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #838F17

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

Preview Lab → · Contrast checker → · Palette generator →

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