#838C16#838C16

#838C16 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.2% C 0.131 H 114.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#838C16
RGBrgb(131, 140, 22)
HSLhsl(65, 73%, 32%)
HSVhsv(65, 84%, 55%)
CMYKcmyk(6.4%, 0%, 84.3%, 45.1%)
CIE-LABlab(55.73, -17.41, 55.41)
CIE-LCHlch(55.73, 58.08, 107.44°)
OKLaboklab(61.24% -0.0541 0.1197)
OKLCHoklch(61.24% 0.131 114.3)
XYZxyz(18.8836, 23.6398, 4.3271)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838C16 #1F168C
analogous
#8C5A16 #838C16 #488C16
triadic
#838C16 #16838C #8C1683
tetradic
#838C16 #168C5A #1F168C #8C1648
square
#838C16 #168C5A #1F168C #8C1648
split-complementary
#838C16 #16488C #5A168C
monochromatic
#202205 #52570E #838C16 #B4C11E #D4E03C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##838C16#FFFFFF#000000##000000
##838C161.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)
#978622
Tritanopia (blue-blind)
#8C8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #838c16;
/* rgb */ color: rgb(131, 140, 22);
/* oklch */ color: oklch(61.2% 0.131 114.3);
Tailwind
colors: {
  custom: {
    50: '#abad61',
    500: '#838c16',
    950: '#000000',
  },
}
SCSS
$custom: #838c16;
$custom-light: #abad61;
$custom-dark: #000000;
JSON
{
  "hex": "#838c16",
  "rgb": {
    "r": 131,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 64.576,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61237,
    "c": 0.13139,
    "h": 114.3
  },
  "luminance": 0.23639
}

Semantic roles & 50–950 ramp

primary
#838C16
secondary
#483EC0
accent
#38F046
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838C16

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

Preview Lab → · Contrast checker → · Palette generator →

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