#838C15#838C15

#838C15 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.2% C 0.132 H 114.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#838C15
RGBrgb(131, 140, 21)
HSLhsl(65, 74%, 32%)
HSVhsv(65, 85%, 55%)
CMYKcmyk(6.4%, 0%, 85%, 45.1%)
CIE-LABlab(55.72, -17.44, 55.67)
CIE-LCHlch(55.72, 58.34, 107.39°)
OKLaboklab(61.23% -0.0542 0.1201)
OKLCHoklch(61.23% 0.132 114.3)
XYZxyz(18.8741, 23.6360, 4.2773)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838C15 #1E158C
analogous
#8C5A15 #838C15 #488C15
triadic
#838C15 #15838C #8C1583
tetradic
#838C15 #158C5A #1E158C #8C1548
square
#838C15 #158C5A #1E158C #8C1548
split-complementary
#838C15 #15488C #5A158C
monochromatic
#1F2205 #51570D #838C15 #B5C11D #D5E13A

Accessibility & contrast

On white

3.67
#838C15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#838C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838C15
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838C15#FFFFFF#000000##000000
##838C151.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#978622
Tritanopia (blue-blind)
#8C8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #838c15;
/* rgb */ color: rgb(131, 140, 21);
/* oklch */ color: oklch(61.2% 0.132 114.3);
Tailwind
colors: {
  custom: {
    50: '#abad60',
    500: '#838c15',
    950: '#000000',
  },
}
SCSS
$custom: #838c15;
$custom-light: #abad60;
$custom-dark: #000000;
JSON
{
  "hex": "#838c15",
  "rgb": {
    "r": 131,
    "g": 140,
    "b": 21
  },
  "hsl": {
    "h": 64.538,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61233,
    "c": 0.1318,
    "h": 114.3
  },
  "luminance": 0.23636
}

Semantic roles & 50–950 ramp

primary
#838C15
secondary
#473DC0
accent
#37F145
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838C15

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

Preview Lab → · Contrast checker → · Palette generator →

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