#838518#838518

#838518 is a mid, vivid yellow. Relative luminance 0.217; OKLCH L 59.6% C 0.123 H 110.7°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#838518
RGBrgb(131, 133, 24)
HSLhsl(61, 69%, 31%)
HSVhsv(61, 82%, 52%)
CMYKcmyk(1.5%, 0%, 82%, 47.8%)
CIE-LABlab(53.67, -13.64, 53.07)
CIE-LCHlch(53.67, 54.80, 104.41°)
OKLaboklab(59.6% -0.0435 0.1151)
OKLCHoklch(59.6% 0.123 110.7)
XYZxyz(17.9131, 21.6668, 4.1025)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838518 #1A1885
analogous
#855018 #838518 #4C8518
triadic
#838518 #188385 #851883
tetradic
#838518 #188550 #1A1885 #85184C
square
#838518 #188550 #1A1885 #85184C
split-complementary
#838518 #184C85 #501885
monochromatic
#1D1D05 #50510F #838518 #B6B921 #D9DC3C

Accessibility & contrast

On white

3.94
#838518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#838518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838518
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838518#FFFFFF#000000##000000
##8385181.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#918222
Tritanopia (blue-blind)
#8D7C71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #838518;
/* rgb */ color: rgb(131, 133, 24);
/* oklch */ color: oklch(59.6% 0.123 110.7);
Tailwind
colors: {
  custom: {
    50: '#aba860',
    500: '#838518',
    950: '#000000',
  },
}
SCSS
$custom: #838518;
$custom-light: #aba860;
$custom-dark: #000000;
JSON
{
  "hex": "#838518",
  "rgb": {
    "r": 131,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 61.101,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59595,
    "c": 0.12303,
    "h": 110.7
  },
  "luminance": 0.21666
}

Semantic roles & 50–950 ramp

primary
#838518
secondary
#4240B9
accent
#3CEC3F
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #838518

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

Preview Lab → · Contrast checker → · Palette generator →

#838518 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva