#838C11#838C11

#838C11 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.72:1 contrast (WCAG AA passes).

Color values

HEX#838C11
RGBrgb(131, 140, 17)
HSLhsl(64, 78%, 31%)
HSVhsv(64, 88%, 55%)
CMYKcmyk(6.4%, 0%, 87.9%, 45.1%)
CIE-LABlab(55.71, -17.55, 56.61)
CIE-LCHlch(55.71, 59.27, 107.23°)
OKLaboklab(61.22% -0.0548 0.1215)
OKLCHoklch(61.22% 0.133 114.3)
XYZxyz(18.8400, 23.6223, 4.0973)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838C11 #1A118C
analogous
#8C5711 #838C11 #458C11
triadic
#838C11 #11838C #8C1183
tetradic
#838C11 #118C57 #1A118C #8C1145
square
#838C11 #118C57 #1A118C #8C1145
split-complementary
#838C11 #11458C #57118C
monochromatic
#1D1F04 #50550A #838C11 #B6C318 #D9E631

Accessibility & contrast

On white

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

On black

5.72
#838C11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838C11
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838C11#FFFFFF#000000##000000
##838C111.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#97861F
Tritanopia (blue-blind)
#8C8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #838c11;
/* rgb */ color: rgb(131, 140, 17);
/* oklch */ color: oklch(61.2% 0.133 114.3);
Tailwind
colors: {
  custom: {
    50: '#abad5f',
    500: '#838c11',
    950: '#000000',
  },
}
SCSS
$custom: #838c11;
$custom-light: #abad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#838c11",
  "rgb": {
    "r": 131,
    "g": 140,
    "b": 17
  },
  "hsl": {
    "h": 64.39,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.61218,
    "c": 0.13328,
    "h": 114.3
  },
  "luminance": 0.23622
}

Semantic roles & 50–950 ramp

primary
#838C11
secondary
#4238C1
accent
#33F541
background
#FAFAF5
surface
#F5F4EA
border
#CFCEC6
text
#111005
muted
#807F79

Preview Lab

Preview with #838C11

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

Preview Lab → · Contrast checker → · Palette generator →

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