#838F16#838F16

#838F16 is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 62.0% C 0.135 H 115.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#838F16
RGBrgb(131, 143, 22)
HSLhsl(66, 73%, 32%)
HSVhsv(66, 85%, 56%)
CMYKcmyk(8.4%, 0%, 84.6%, 43.9%)
CIE-LABlab(56.61, -18.96, 56.17)
CIE-LCHlch(56.61, 59.29, 108.65°)
OKLaboklab(61.95% -0.0584 0.1214)
OKLCHoklch(61.95% 0.135 115.7)
XYZxyz(19.3279, 24.5285, 4.4752)
Luminance0.2453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838F16 #22168F
analogous
#8F5E16 #838F16 #478F16
triadic
#838F16 #16838F #8F1683
tetradic
#838F16 #168F5E #22168F #8F1647
square
#838F16 #168F5E #22168F #8F1647
split-complementary
#838F16 #16478F #5E168F
monochromatic
#222506 #525A0E #838F16 #B4C41E #D1E13E

Accessibility & contrast

On white

3.56
#838F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#838F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838F16
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838F16#FFFFFF#000000##000000
##838F161.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#998923
Tritanopia (blue-blind)
#8C867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #838f16;
/* rgb */ color: rgb(131, 143, 22);
/* oklch */ color: oklch(62.0% 0.135 115.7);
Tailwind
colors: {
  custom: {
    50: '#abaf61',
    500: '#838f16',
    950: '#000000',
  },
}
SCSS
$custom: #838f16;
$custom-light: #abaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#838f16",
  "rgb": {
    "r": 131,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 65.95,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.6195,
    "c": 0.13469,
    "h": 115.7
  },
  "luminance": 0.24528
}

Semantic roles & 50–950 ramp

primary
#838F16
secondary
#4C3FC1
accent
#38F04A
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #838F16

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

Preview Lab → · Contrast checker → · Palette generator →

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