#838D14#838D14

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

Color values

HEX#838D14
RGBrgb(131, 141, 20)
HSLhsl(65, 75%, 32%)
HSVhsv(65, 86%, 55%)
CMYKcmyk(7.1%, 0%, 85.8%, 44.7%)
CIE-LABlab(56.01, -17.99, 56.17)
CIE-LCHlch(56.01, 58.98, 107.76°)
OKLaboklab(61.47% -0.0558 0.121)
OKLCHoklch(61.47% 0.133 114.8)
XYZxyz(19.0118, 23.9259, 4.2783)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838D14 #1E148D
analogous
#8D5B14 #838D14 #478D14
triadic
#838D14 #14838D #8D1483
tetradic
#838D14 #148D5B #1E148D #8D1447
square
#838D14 #148D5B #1E148D #8D1447
split-complementary
#838D14 #14478D #5B148D
monochromatic
#1F2205 #51570C #838D14 #B5C31C #D5E339

Accessibility & contrast

On white

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

On black

5.79
#838D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838D14
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838D14#FFFFFF#000000##000000
##838D141.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.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: #838d14;
/* rgb */ color: rgb(131, 141, 20);
/* oklch */ color: oklch(61.5% 0.133 114.8);
Tailwind
colors: {
  custom: {
    50: '#abae60',
    500: '#838d14',
    950: '#000000',
  },
}
SCSS
$custom: #838d14;
$custom-light: #abae60;
$custom-dark: #000000;
JSON
{
  "hex": "#838d14",
  "rgb": {
    "r": 131,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 64.959,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61466,
    "c": 0.13328,
    "h": 114.8
  },
  "luminance": 0.23926
}

Semantic roles & 50–950 ramp

primary
#838D14
secondary
#473CC1
accent
#36F246
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838D14

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

Preview Lab → · Contrast checker → · Palette generator →

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