#838E13#838E13

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

Color values

HEX#838E13
RGBrgb(131, 142, 19)
HSLhsl(65, 76%, 32%)
HSVhsv(65, 87%, 56%)
CMYKcmyk(7.7%, 0%, 86.6%, 44.3%)
CIE-LABlab(56.31, -18.54, 56.65)
CIE-LCHlch(56.31, 59.61, 108.12°)
OKLaboklab(61.7% -0.0574 0.1219)
OKLCHoklch(61.7% 0.135 115.2)
XYZxyz(19.1512, 24.2187, 4.2818)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838E13 #1E138E
analogous
#8E5C13 #838E13 #468E13
triadic
#838E13 #13838E #8E1383
tetradic
#838E13 #138E5C #1E138E #8E1346
square
#838E13 #138E5C #1E138E #8E1346
split-complementary
#838E13 #13468E #5C138E
monochromatic
#1F2205 #51580C #838E13 #B5C41A #D5E437

Accessibility & contrast

On white

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

On black

5.84
#838E13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838E13
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838E13#FFFFFF#000000##000000
##838E131.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #838e13;
/* rgb */ color: rgb(131, 142, 19);
/* oklch */ color: oklch(61.7% 0.135 115.2);
Tailwind
colors: {
  custom: {
    50: '#abae60',
    500: '#838e13',
    950: '#000000',
  },
}
SCSS
$custom: #838e13;
$custom-light: #abae60;
$custom-dark: #000000;
JSON
{
  "hex": "#838e13",
  "rgb": {
    "r": 131,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 65.366,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.617,
    "c": 0.13475,
    "h": 115.2
  },
  "luminance": 0.24218
}

Semantic roles & 50–950 ramp

primary
#838E13
secondary
#473BC2
accent
#35F346
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #838E13

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

Preview Lab → · Contrast checker → · Palette generator →

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