#838310#838310

#838310 is a mid, vivid yellow. Relative luminance 0.211; OKLCH L 59.1% C 0.124 H 109.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#838310
RGBrgb(131, 131, 16)
HSLhsl(60, 78%, 29%)
HSVhsv(60, 88%, 51%)
CMYKcmyk(0%, 0%, 87.8%, 48.6%)
CIE-LABlab(53.05, -12.82, 54.65)
CIE-LCHlch(53.05, 56.13, 103.20°)
OKLaboklab(59.09% -0.0418 0.117)
OKLCHoklch(59.09% 0.124 109.7)
XYZxyz(17.5706, 21.0959, 3.6365)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838310 #101083
analogous
#834A10 #838310 #4A8310
triadic
#838310 #108383 #831083
tetradic
#838310 #10834A #101083 #83104A
square
#838310 #10834A #101083 #83104A
split-complementary
#838310 #104A83 #4A1083
monochromatic
#1B1B03 #4C4C09 #838310 #BABA17 #E5E529

Accessibility & contrast

On white

4.02
#838310 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#838310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838310
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838310#FFFFFF#000000##000000
##8383101.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#90801D
Tritanopia (blue-blind)
#8D7A6F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #838310;
/* rgb */ color: rgb(131, 131, 16);
/* oklch */ color: oklch(59.1% 0.124 109.7);
Tailwind
colors: {
  custom: {
    50: '#aba65d',
    500: '#838310',
    950: '#000000',
  },
}
SCSS
$custom: #838310;
$custom-light: #aba65d;
$custom-dark: #000000;
JSON
{
  "hex": "#838310",
  "rgb": {
    "r": 131,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 60,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.59091,
    "c": 0.12427,
    "h": 109.7
  },
  "luminance": 0.21095
}

Semantic roles & 50–950 ramp

primary
#838310
secondary
#3636B9
accent
#33F533
background
#FAFAF5
surface
#F5F4E9
border
#CFCEC5
text
#110F05
muted
#807F79

Preview Lab

Preview with #838310

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

Preview Lab → · Contrast checker → · Palette generator →

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