#838E19#838E19

#838E19 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.7% C 0.132 H 115.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#838E19
RGBrgb(131, 142, 25)
HSLhsl(66, 70%, 33%)
HSVhsv(66, 82%, 56%)
CMYKcmyk(7.7%, 0%, 82.4%, 44.3%)
CIE-LABlab(56.33, -18.34, 55.12)
CIE-LCHlch(56.33, 58.09, 108.41°)
OKLaboklab(61.73% -0.0565 0.1196)
OKLCHoklch(61.73% 0.132 115.3)
XYZxyz(19.2091, 24.2418, 4.5867)
Luminance0.2424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838E19 #24198E
analogous
#8E5E19 #838E19 #488E19
triadic
#838E19 #19838E #8E1983
tetradic
#838E19 #198E5E #24198E #8E1948
square
#838E19 #198E5E #24198E #8E1948
split-complementary
#838E19 #19488E #5E198E
monochromatic
#232607 #535A10 #838E19 #B3C222 #CFDE43

Accessibility & contrast

On white

3.59
#838E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#838E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838E19
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838E19#FFFFFF#000000##000000
##838E191.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#8C8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #838e19;
/* rgb */ color: rgb(131, 142, 25);
/* oklch */ color: oklch(61.7% 0.132 115.3);
Tailwind
colors: {
  custom: {
    50: '#abae62',
    500: '#838e19',
    950: '#000000',
  },
}
SCSS
$custom: #838e19;
$custom-light: #abae62;
$custom-dark: #000000;
JSON
{
  "hex": "#838e19",
  "rgb": {
    "r": 131,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 65.641,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61726,
    "c": 0.13229,
    "h": 115.3
  },
  "luminance": 0.24241
}

Semantic roles & 50–950 ramp

primary
#838E19
secondary
#4F44BF
accent
#3BED4C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #838E19

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

Preview Lab → · Contrast checker → · Palette generator →

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