#838D16#838D16

#838D16 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.132 H 114.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#838D16
RGBrgb(131, 141, 22)
HSLhsl(65, 73%, 32%)
HSVhsv(65, 84%, 55%)
CMYKcmyk(7.1%, 0%, 84.4%, 44.7%)
CIE-LABlab(56.02, -17.93, 55.67)
CIE-LCHlch(56.02, 58.48, 107.85°)
OKLaboklab(61.48% -0.0555 0.1203)
OKLCHoklch(61.48% 0.132 114.8)
XYZxyz(19.0304, 23.9333, 4.3760)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838D16 #20168D
analogous
#8D5C16 #838D16 #488D16
triadic
#838D16 #16838D #8D1683
tetradic
#838D16 #168D5C #20168D #8D1648
square
#838D16 #168D5C #20168D #8D1648
split-complementary
#838D16 #16488D #5C168D
monochromatic
#212305 #52580E #838D16 #B4C21E #D3E13D

Accessibility & contrast

On white

3.63
#838D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#838D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838D16
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838D16#FFFFFF#000000##000000
##838D161.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#8C8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #838d16;
/* rgb */ color: rgb(131, 141, 22);
/* oklch */ color: oklch(61.5% 0.132 114.8);
Tailwind
colors: {
  custom: {
    50: '#abae61',
    500: '#838d16',
    950: '#000000',
  },
}
SCSS
$custom: #838d16;
$custom-light: #abae61;
$custom-dark: #000000;
JSON
{
  "hex": "#838d16",
  "rgb": {
    "r": 131,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 65.042,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61475,
    "c": 0.13249,
    "h": 114.8
  },
  "luminance": 0.23933
}

Semantic roles & 50–950 ramp

primary
#838D16
secondary
#493EC1
accent
#38F048
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838D16

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

Preview Lab → · Contrast checker → · Palette generator →

#838D16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva