#838D15#838D15

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

Color values

HEX#838D15
RGBrgb(131, 141, 21)
HSLhsl(65, 74%, 32%)
HSVhsv(65, 85%, 55%)
CMYKcmyk(7.1%, 0%, 85.1%, 44.7%)
CIE-LABlab(56.02, -17.96, 55.92)
CIE-LCHlch(56.02, 58.73, 107.80°)
OKLaboklab(61.47% -0.0557 0.1207)
OKLCHoklch(61.47% 0.133 114.8)
XYZxyz(19.0209, 23.9296, 4.3262)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838D15 #1F158D
analogous
#8D5B15 #838D15 #478D15
triadic
#838D15 #15838D #8D1583
tetradic
#838D15 #158D5B #1F158D #8D1547
square
#838D15 #158D5B #1F158D #8D1547
split-complementary
#838D15 #15478D #5B158D
monochromatic
#202205 #52580D #838D15 #B4C21D #D4E23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##838D15#FFFFFF#000000##000000
##838D151.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)
#978722
Tritanopia (blue-blind)
#8C8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #838d15;
/* rgb */ color: rgb(131, 141, 21);
/* oklch */ color: oklch(61.5% 0.133 114.8);
Tailwind
colors: {
  custom: {
    50: '#abae60',
    500: '#838d15',
    950: '#000000',
  },
}
SCSS
$custom: #838d15;
$custom-light: #abae60;
$custom-dark: #000000;
JSON
{
  "hex": "#838d15",
  "rgb": {
    "r": 131,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 65,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.6147,
    "c": 0.13289,
    "h": 114.8
  },
  "luminance": 0.23929
}

Semantic roles & 50–950 ramp

primary
#838D15
secondary
#483DC1
accent
#37F147
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838D15

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

Preview Lab → · Contrast checker → · Palette generator →

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