#838817#838817

#838817 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.3% C 0.127 H 112.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#838817
RGBrgb(131, 136, 23)
HSLhsl(63, 71%, 31%)
HSVhsv(63, 83%, 53%)
CMYKcmyk(3.7%, 0%, 83.1%, 46.7%)
CIE-LABlab(54.55, -15.27, 54.13)
CIE-LCHlch(54.55, 56.24, 105.76°)
OKLaboklab(60.3% -0.0481 0.1172)
OKLCHoklch(60.3% 0.127 112.3)
XYZxyz(18.3195, 22.4959, 4.1876)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838817 #1C1788
analogous
#885417 #838817 #4A8817
triadic
#838817 #178388 #881783
tetradic
#838817 #178854 #1C1788 #88174A
square
#838817 #178854 #1C1788 #88174A
split-complementary
#838817 #174A88 #541788
monochromatic
#1E1F05 #51540E #838817 #B5BC20 #D7DE3B

Accessibility & contrast

On white

3.82
#838817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#838817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838817
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838817#FFFFFF#000000##000000
##8388171.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#938422
Tritanopia (blue-blind)
#8D7F74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #838817;
/* rgb */ color: rgb(131, 136, 23);
/* oklch */ color: oklch(60.3% 0.127 112.3);
Tailwind
colors: {
  custom: {
    50: '#abaa60',
    500: '#838817',
    950: '#000000',
  },
}
SCSS
$custom: #838817;
$custom-light: #abaa60;
$custom-dark: #000000;
JSON
{
  "hex": "#838817",
  "rgb": {
    "r": 131,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 62.655,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60296,
    "c": 0.12665,
    "h": 112.3
  },
  "luminance": 0.22495
}

Semantic roles & 50–950 ramp

primary
#838817
secondary
#453FBC
accent
#3AEE42
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838817

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

Preview Lab → · Contrast checker → · Palette generator →

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