#838D13#838D13

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

Color values

HEX#838D13
RGBrgb(131, 141, 19)
HSLhsl(65, 76%, 31%)
HSVhsv(65, 87%, 55%)
CMYKcmyk(7.1%, 0%, 86.5%, 44.7%)
CIE-LABlab(56.01, -18.02, 56.41)
CIE-LCHlch(56.01, 59.21, 107.72°)
OKLaboklab(61.46% -0.056 0.1214)
OKLCHoklch(61.46% 0.134 114.8)
XYZxyz(19.0031, 23.9224, 4.2324)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838D13 #1D138D
analogous
#8D5A13 #838D13 #468D13
triadic
#838D13 #13838D #8D1383
tetradic
#838D13 #138D5A #1D138D #8D1346
square
#838D13 #138D5A #1D138D #8D1346
split-complementary
#838D13 #13468D #5A138D
monochromatic
#1F2104 #51570C #838D13 #B5C31A #D6E436

Accessibility & contrast

On white

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

On black

5.78
#838D13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838D13
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838D13#FFFFFF#000000##000000
##838D131.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#978721
Tritanopia (blue-blind)
#8C8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #838d13;
/* rgb */ color: rgb(131, 141, 19);
/* oklch */ color: oklch(61.5% 0.134 114.8);
Tailwind
colors: {
  custom: {
    50: '#abae60',
    500: '#838d13',
    950: '#000000',
  },
}
SCSS
$custom: #838d13;
$custom-light: #abae60;
$custom-dark: #000000;
JSON
{
  "hex": "#838d13",
  "rgb": {
    "r": 131,
    "g": 141,
    "b": 19
  },
  "hsl": {
    "h": 64.918,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.61462,
    "c": 0.13366,
    "h": 114.8
  },
  "luminance": 0.23922
}

Semantic roles & 50–950 ramp

primary
#838D13
secondary
#463BC1
accent
#35F345
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #838D13

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

Preview Lab → · Contrast checker → · Palette generator →

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