#838E15#838E15

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

Color values

HEX#838E15
RGBrgb(131, 142, 21)
HSLhsl(65, 74%, 32%)
HSVhsv(65, 85%, 56%)
CMYKcmyk(7.7%, 0%, 85.2%, 44.3%)
CIE-LABlab(56.31, -18.48, 56.17)
CIE-LCHlch(56.31, 59.13, 108.21°)
OKLaboklab(61.71% -0.0571 0.1212)
OKLCHoklch(61.71% 0.134 115.2)
XYZxyz(19.1690, 24.2258, 4.3756)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838E15 #20158E
analogous
#8E5D15 #838E15 #468E15
triadic
#838E15 #15838E #8E1583
tetradic
#838E15 #158E5D #20158E #8E1546
square
#838E15 #158E5D #20158E #8E1546
split-complementary
#838E15 #15468E #5D158E
monochromatic
#212305 #52590D #838E15 #B4C31D #D3E23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##838E15#FFFFFF#000000##000000
##838E151.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)
#988822
Tritanopia (blue-blind)
#8C8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #838e15;
/* rgb */ color: rgb(131, 142, 21);
/* oklch */ color: oklch(61.7% 0.134 115.2);
Tailwind
colors: {
  custom: {
    50: '#abae61',
    500: '#838e15',
    950: '#000000',
  },
}
SCSS
$custom: #838e15;
$custom-light: #abae61;
$custom-dark: #000000;
JSON
{
  "hex": "#838e15",
  "rgb": {
    "r": 131,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 65.455,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61708,
    "c": 0.13399,
    "h": 115.2
  },
  "luminance": 0.24225
}

Semantic roles & 50–950 ramp

primary
#838E15
secondary
#493DC2
accent
#37F148
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838E15

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

Preview Lab → · Contrast checker → · Palette generator →

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