#838C13#838C13

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

Color values

HEX#838C13
RGBrgb(131, 140, 19)
HSLhsl(64, 76%, 31%)
HSVhsv(64, 86%, 55%)
CMYKcmyk(6.4%, 0%, 86.4%, 45.1%)
CIE-LABlab(55.71, -17.50, 56.16)
CIE-LCHlch(55.71, 58.82, 107.31°)
OKLaboklab(61.22% -0.0545 0.1208)
OKLCHoklch(61.22% 0.133 114.3)
XYZxyz(18.8563, 23.6289, 4.1835)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838C13 #1C138C
analogous
#8C5813 #838C13 #468C13
triadic
#838C13 #13838C #8C1383
tetradic
#838C13 #138C58 #1C138C #8C1346
square
#838C13 #138C58 #1C138C #8C1346
split-complementary
#838C13 #13468C #58138C
monochromatic
#1E2004 #51560C #838C13 #B5C21A #D7E436

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##838C13#FFFFFF#000000##000000
##838C131.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)
#978621
Tritanopia (blue-blind)
#8C8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #838c13;
/* rgb */ color: rgb(131, 140, 19);
/* oklch */ color: oklch(61.2% 0.133 114.3);
Tailwind
colors: {
  custom: {
    50: '#abad60',
    500: '#838c13',
    950: '#000000',
  },
}
SCSS
$custom: #838c13;
$custom-light: #abad60;
$custom-dark: #000000;
JSON
{
  "hex": "#838c13",
  "rgb": {
    "r": 131,
    "g": 140,
    "b": 19
  },
  "hsl": {
    "h": 64.463,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.61225,
    "c": 0.13257,
    "h": 114.3
  },
  "luminance": 0.23628
}

Semantic roles & 50–950 ramp

primary
#838C13
secondary
#453BC0
accent
#35F343
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #838C13

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

Preview Lab → · Contrast checker → · Palette generator →

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