#838210#838210

#838210 is a mid, vivid yellow. Relative luminance 0.208; OKLCH L 58.9% C 0.123 H 109.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#838210
RGBrgb(131, 130, 16)
HSLhsl(59, 78%, 29%)
HSVhsv(59, 88%, 51%)
CMYKcmyk(0%, 0.8%, 87.8%, 48.6%)
CIE-LABlab(52.76, -12.28, 54.41)
CIE-LCHlch(52.76, 55.78, 102.72°)
OKLaboklab(58.86% -0.0403 0.1165)
OKLCHoklch(58.86% 0.123 109.1)
XYZxyz(17.4369, 20.8285, 3.5919)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838210 #101183
analogous
#834910 #838210 #4B8310
triadic
#838210 #108382 #821083
tetradic
#838210 #108349 #101183 #83104B
square
#838210 #108349 #101183 #83104B
split-complementary
#838210 #104B83 #491083
monochromatic
#1B1B03 #4C4C09 #838210 #BAB817 #E5E329

Accessibility & contrast

On white

4.07
#838210 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#838210 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838210
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838210#FFFFFF#000000##000000
##8382101.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#8F7F1C
Tritanopia (blue-blind)
#8D796E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #838210;
/* rgb */ color: rgb(131, 130, 16);
/* oklch */ color: oklch(58.9% 0.123 109.1);
Tailwind
colors: {
  custom: {
    50: '#aba65d',
    500: '#838210',
    950: '#000000',
  },
}
SCSS
$custom: #838210;
$custom-light: #aba65d;
$custom-dark: #000000;
JSON
{
  "hex": "#838210",
  "rgb": {
    "r": 131,
    "g": 130,
    "b": 16
  },
  "hsl": {
    "h": 59.478,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.58857,
    "c": 0.12328,
    "h": 109.1
  },
  "luminance": 0.20828
}

Semantic roles & 50–950 ramp

primary
#838210
secondary
#3637B9
accent
#35F533
background
#FAFAF5
surface
#F5F4E9
border
#CFCEC5
text
#110F05
muted
#807F79

Preview Lab

Preview with #838210

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

Preview Lab → · Contrast checker → · Palette generator →

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