#838C14#838C14

#838C14 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#838C14
RGBrgb(131, 140, 20)
HSLhsl(65, 75%, 31%)
HSVhsv(65, 86%, 55%)
CMYKcmyk(6.4%, 0%, 85.7%, 45.1%)
CIE-LABlab(55.72, -17.47, 55.92)
CIE-LCHlch(55.72, 58.58, 107.35°)
OKLaboklab(61.23% -0.0544 0.1205)
OKLCHoklch(61.23% 0.132 114.3)
XYZxyz(18.8650, 23.6324, 4.2294)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838C14 #1D148C
analogous
#8C5914 #838C14 #478C14
triadic
#838C14 #14838C #8C1483
tetradic
#838C14 #148C59 #1D148C #8C1447
square
#838C14 #148C59 #1D148C #8C1447
split-complementary
#838C14 #14478C #59148C
monochromatic
#1F2105 #51560C #838C14 #B5C21C #D6E338

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##838C14#FFFFFF#000000##000000
##838C141.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: #838c14;
/* rgb */ color: rgb(131, 140, 20);
/* oklch */ color: oklch(61.2% 0.132 114.3);
Tailwind
colors: {
  custom: {
    50: '#abad60',
    500: '#838c14',
    950: '#000000',
  },
}
SCSS
$custom: #838c14;
$custom-light: #abad60;
$custom-dark: #000000;
JSON
{
  "hex": "#838c14",
  "rgb": {
    "r": 131,
    "g": 140,
    "b": 20
  },
  "hsl": {
    "h": 64.5,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.61229,
    "c": 0.13219,
    "h": 114.3
  },
  "luminance": 0.23632
}

Semantic roles & 50–950 ramp

primary
#838C14
secondary
#463CC0
accent
#36F244
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838C14

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

Preview Lab → · Contrast checker → · Palette generator →

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