#838818#838818

#838818 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.3% C 0.126 H 112.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#838818
RGBrgb(131, 136, 24)
HSLhsl(63, 70%, 31%)
HSVhsv(63, 82%, 53%)
CMYKcmyk(3.7%, 0%, 82.4%, 46.7%)
CIE-LABlab(54.55, -15.24, 53.85)
CIE-LCHlch(54.55, 55.96, 105.80°)
OKLaboklab(60.3% -0.048 0.1167)
OKLCHoklch(60.3% 0.126 112.3)
XYZxyz(18.3297, 22.5000, 4.2413)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838818 #1D1888
analogous
#885518 #838818 #4B8818
triadic
#838818 #188388 #881883
tetradic
#838818 #188855 #1D1888 #88184B
square
#838818 #188855 #1D1888 #88184B
split-complementary
#838818 #184B88 #551888
monochromatic
#1F2006 #51540F #838818 #B5BC21 #D6DD3E

Accessibility & contrast

On white

3.82
#838818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#838818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838818
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838818#FFFFFF#000000##000000
##8388181.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#938423
Tritanopia (blue-blind)
#8D7F74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #838818;
/* rgb */ color: rgb(131, 136, 24);
/* oklch */ color: oklch(60.3% 0.126 112.3);
Tailwind
colors: {
  custom: {
    50: '#abaa61',
    500: '#838818',
    950: '#000000',
  },
}
SCSS
$custom: #838818;
$custom-light: #abaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#838818",
  "rgb": {
    "r": 131,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 62.679,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60301,
    "c": 0.1262,
    "h": 112.3
  },
  "luminance": 0.225
}

Semantic roles & 50–950 ramp

primary
#838818
secondary
#4640BC
accent
#3BED43
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838818

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

Preview Lab → · Contrast checker → · Palette generator →

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