#838B19#838B19

#838B19 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.0% C 0.129 H 113.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#838B19
RGBrgb(131, 139, 25)
HSLhsl(64, 70%, 32%)
HSVhsv(64, 82%, 55%)
CMYKcmyk(5.8%, 0%, 82%, 45.5%)
CIE-LABlab(55.44, -16.78, 54.34)
CIE-LCHlch(55.44, 56.87, 107.16°)
OKLaboklab(61.01% -0.0521 0.118)
OKLCHoklch(61.01% 0.129 113.8)
XYZxyz(18.7688, 23.3611, 4.4400)
Luminance0.2336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838B19 #21198B
analogous
#8B5A19 #838B19 #4A8B19
triadic
#838B19 #19838B #8B1983
tetradic
#838B19 #198B5A #21198B #8B194A
square
#838B19 #198B5A #21198B #8B194A
split-complementary
#838B19 #194A8B #5A198B
monochromatic
#212306 #525710 #838B19 #B4BF22 #D2DD41

Accessibility & contrast

On white

3.70
#838B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#838B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838B19
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838B19#FFFFFF#000000##000000
##838B191.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#968624
Tritanopia (blue-blind)
#8C8276
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #838b19;
/* rgb */ color: rgb(131, 139, 25);
/* oklch */ color: oklch(61.0% 0.129 113.8);
Tailwind
colors: {
  custom: {
    50: '#abac62',
    500: '#838b19',
    950: '#000000',
  },
}
SCSS
$custom: #838b19;
$custom-light: #abac62;
$custom-dark: #000000;
JSON
{
  "hex": "#838b19",
  "rgb": {
    "r": 131,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 64.211,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61014,
    "c": 0.12898,
    "h": 113.8
  },
  "luminance": 0.23361
}

Semantic roles & 50–950 ramp

primary
#838B19
secondary
#4B42BE
accent
#3BEC48
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #838B19

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

Preview Lab → · Contrast checker → · Palette generator →

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