#838917#838917

#838917 is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.5% C 0.128 H 112.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#838917
RGBrgb(131, 137, 23)
HSLhsl(63, 71%, 31%)
HSVhsv(63, 83%, 54%)
CMYKcmyk(4.4%, 0%, 83.2%, 46.3%)
CIE-LABlab(54.84, -15.80, 54.38)
CIE-LCHlch(54.84, 56.63, 106.20°)
OKLaboklab(60.53% -0.0496 0.1177)
OKLCHoklch(60.53% 0.128 112.8)
XYZxyz(18.4610, 22.7789, 4.2347)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838917 #1D1789
analogous
#895617 #838917 #4A8917
triadic
#838917 #178389 #891783
tetradic
#838917 #178956 #1D1789 #89174A
square
#838917 #178956 #1D1789 #89174A
split-complementary
#838917 #174A89 #561789
monochromatic
#1F2005 #51550E #838917 #B5BD20 #D6DE3C

Accessibility & contrast

On white

3.78
#838917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#838917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838917
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838917#FFFFFF#000000##000000
##8389171.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#948422
Tritanopia (blue-blind)
#8C8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #838917;
/* rgb */ color: rgb(131, 137, 23);
/* oklch */ color: oklch(60.5% 0.128 112.8);
Tailwind
colors: {
  custom: {
    50: '#abab61',
    500: '#838917',
    950: '#000000',
  },
}
SCSS
$custom: #838917;
$custom-light: #abab61;
$custom-dark: #000000;
JSON
{
  "hex": "#838917",
  "rgb": {
    "r": 131,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 63.158,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.12772,
    "h": 112.8
  },
  "luminance": 0.22778
}

Semantic roles & 50–950 ramp

primary
#838917
secondary
#463FBD
accent
#3AEE43
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838917

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

Preview Lab → · Contrast checker → · Palette generator →

#838917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva