#838E11#838E11

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

Color values

HEX#838E11
RGBrgb(131, 142, 17)
HSLhsl(65, 79%, 31%)
HSVhsv(65, 88%, 56%)
CMYKcmyk(7.7%, 0%, 88%, 44.3%)
CIE-LABlab(56.30, -18.59, 57.10)
CIE-LCHlch(56.30, 60.05, 108.04°)
OKLaboklab(61.69% -0.0577 0.1226)
OKLCHoklch(61.69% 0.135 115.2)
XYZxyz(19.1348, 24.2121, 4.1956)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838E11 #1C118E
analogous
#8E5A11 #838E11 #448E11
triadic
#838E11 #11838E #8E1183
tetradic
#838E11 #118E5A #1C118E #8E1144
square
#838E11 #118E5A #1C118E #8E1144
split-complementary
#838E11 #11448E #5A118E
monochromatic
#1E2104 #51570A #838E11 #B5C518 #D7E733

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #838e11;
/* rgb */ color: rgb(131, 142, 17);
/* oklch */ color: oklch(61.7% 0.135 115.2);
Tailwind
colors: {
  custom: {
    50: '#abae5f',
    500: '#838e11',
    950: '#000000',
  },
}
SCSS
$custom: #838e11;
$custom-light: #abae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#838e11",
  "rgb": {
    "r": 131,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 65.28,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.61693,
    "c": 0.13544,
    "h": 115.2
  },
  "luminance": 0.24212
}

Semantic roles & 50–950 ramp

primary
#838E11
secondary
#4538C2
accent
#33F544
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #838E11

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

Preview Lab → · Contrast checker → · Palette generator →

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