#838B16#838B16

#838B16 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.0% C 0.130 H 113.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#838B16
RGBrgb(131, 139, 22)
HSLhsl(64, 73%, 32%)
HSVhsv(64, 84%, 55%)
CMYKcmyk(5.8%, 0%, 84.2%, 45.5%)
CIE-LABlab(55.43, -16.88, 55.16)
CIE-LCHlch(55.43, 57.69, 107.02°)
OKLaboklab(61% -0.0527 0.1192)
OKLCHoklch(61% 0.13 113.8)
XYZxyz(18.7381, 23.3489, 4.2786)
Luminance0.2335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838B16 #1E168B
analogous
#8B5916 #838B16 #488B16
triadic
#838B16 #16838B #8B1683
tetradic
#838B16 #168B59 #1E168B #8B1648
square
#838B16 #168B59 #1E168B #8B1648
split-complementary
#838B16 #16488B #59168B
monochromatic
#1F2105 #51560E #838B16 #B5C01E #D5E03B

Accessibility & contrast

On white

3.70
#838B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#838B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838B16
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838B16#FFFFFF#000000##000000
##838B161.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#968622
Tritanopia (blue-blind)
#8C8276
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #838b16;
/* rgb */ color: rgb(131, 139, 22);
/* oklch */ color: oklch(61.0% 0.130 113.8);
Tailwind
colors: {
  custom: {
    50: '#abac61',
    500: '#838b16',
    950: '#000000',
  },
}
SCSS
$custom: #838b16;
$custom-light: #abac61;
$custom-dark: #000000;
JSON
{
  "hex": "#838b16",
  "rgb": {
    "r": 131,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 64.103,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61,
    "c": 0.1303,
    "h": 113.8
  },
  "luminance": 0.23348
}

Semantic roles & 50–950 ramp

primary
#838B16
secondary
#473EBF
accent
#38EF45
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838B16

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

Preview Lab → · Contrast checker → · Palette generator →

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