#838E14#838E14

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

Color values

HEX#838E14
RGBrgb(131, 142, 20)
HSLhsl(65, 75%, 32%)
HSVhsv(65, 86%, 56%)
CMYKcmyk(7.7%, 0%, 85.9%, 44.3%)
CIE-LABlab(56.31, -18.51, 56.42)
CIE-LCHlch(56.31, 59.38, 108.16°)
OKLaboklab(61.7% -0.0573 0.1216)
OKLCHoklch(61.7% 0.134 115.2)
XYZxyz(19.1599, 24.2221, 4.3277)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838E14 #1F148E
analogous
#8E5C14 #838E14 #468E14
triadic
#838E14 #14838E #8E1483
tetradic
#838E14 #148E5C #1F148E #8E1446
square
#838E14 #148E5C #1F148E #8E1446
split-complementary
#838E14 #14468E #5C148E
monochromatic
#202305 #52580C #838E14 #B4C41C #D4E339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##838E14#FFFFFF#000000##000000
##838E141.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)
#988822
Tritanopia (blue-blind)
#8C8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #838e14;
/* rgb */ color: rgb(131, 142, 20);
/* oklch */ color: oklch(61.7% 0.134 115.2);
Tailwind
colors: {
  custom: {
    50: '#abae60',
    500: '#838e14',
    950: '#000000',
  },
}
SCSS
$custom: #838e14;
$custom-light: #abae60;
$custom-dark: #000000;
JSON
{
  "hex": "#838e14",
  "rgb": {
    "r": 131,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 65.41,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.13437,
    "h": 115.2
  },
  "luminance": 0.24222
}

Semantic roles & 50–950 ramp

primary
#838E14
secondary
#483CC2
accent
#36F247
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838E14

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

Preview Lab → · Contrast checker → · Palette generator →

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