#838617#838617

#838617 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 59.8% C 0.125 H 111.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#838617
RGBrgb(131, 134, 23)
HSLhsl(62, 71%, 31%)
HSVhsv(62, 83%, 53%)
CMYKcmyk(2.2%, 0%, 82.8%, 47.5%)
CIE-LABlab(53.96, -14.21, 53.62)
CIE-LCHlch(53.96, 55.47, 104.84°)
OKLaboklab(59.83% -0.0452 0.1161)
OKLCHoklch(59.83% 0.125 111.3)
XYZxyz(18.0405, 21.9378, 4.0946)
Luminance0.2194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838617 #1A1786
analogous
#865117 #838617 #4B8617
triadic
#838617 #178386 #861783
tetradic
#838617 #178651 #1A1786 #86174B
square
#838617 #178651 #1A1786 #86174B
split-complementary
#838617 #174B86 #511786
monochromatic
#1D1E05 #50520E #838617 #B6BA20 #D9DD3A

Accessibility & contrast

On white

3.90
#838617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#838617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838617
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838617#FFFFFF#000000##000000
##8386171.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#928222
Tritanopia (blue-blind)
#8D7D72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #838617;
/* rgb */ color: rgb(131, 134, 23);
/* oklch */ color: oklch(59.8% 0.125 111.3);
Tailwind
colors: {
  custom: {
    50: '#aba960',
    500: '#838617',
    950: '#000000',
  },
}
SCSS
$custom: #838617;
$custom-light: #aba960;
$custom-dark: #000000;
JSON
{
  "hex": "#838617",
  "rgb": {
    "r": 131,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 61.622,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59825,
    "c": 0.12454,
    "h": 111.3
  },
  "luminance": 0.21937
}

Semantic roles & 50–950 ramp

primary
#838617
secondary
#423FBA
accent
#3AED3F
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #838617

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

Preview Lab → · Contrast checker → · Palette generator →

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