#838F19#838F19

#838F19 is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 62.0% C 0.133 H 115.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#838F19
RGBrgb(131, 143, 25)
HSLhsl(66, 70%, 33%)
HSVhsv(66, 83%, 56%)
CMYKcmyk(8.4%, 0%, 82.5%, 43.9%)
CIE-LABlab(56.63, -18.86, 55.37)
CIE-LCHlch(56.63, 58.50, 108.81°)
OKLaboklab(61.96% -0.0579 0.1202)
OKLCHoklch(61.96% 0.133 115.7)
XYZxyz(19.3586, 24.5407, 4.6366)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838F19 #25198F
analogous
#8F6019 #838F19 #488F19
triadic
#838F19 #19838F #8F1983
tetradic
#838F19 #198F60 #25198F #8F1948
square
#838F19 #198F60 #25198F #8F1948
split-complementary
#838F19 #19488F #60198F
monochromatic
#242707 #535B10 #838F19 #B3C322 #CFDE44

Accessibility & contrast

On white

3.55
#838F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#838F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838F19
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838F19#FFFFFF#000000##000000
##838F191.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#8C867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #838f19;
/* rgb */ color: rgb(131, 143, 25);
/* oklch */ color: oklch(62.0% 0.133 115.7);
Tailwind
colors: {
  custom: {
    50: '#abaf62',
    500: '#838f19',
    950: '#000000',
  },
}
SCSS
$custom: #838f19;
$custom-light: #abaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#838f19",
  "rgb": {
    "r": 131,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 66.102,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61964,
    "c": 0.13341,
    "h": 115.7
  },
  "luminance": 0.2454
}

Semantic roles & 50–950 ramp

primary
#838F19
secondary
#5144BF
accent
#3BED4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #838F19

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

Preview Lab → · Contrast checker → · Palette generator →

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