#838918#838918

#838918 is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.5% C 0.127 H 112.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#838918
RGBrgb(131, 137, 24)
HSLhsl(63, 70%, 32%)
HSVhsv(63, 82%, 54%)
CMYKcmyk(4.4%, 0%, 82.5%, 46.3%)
CIE-LABlab(54.85, -15.76, 54.10)
CIE-LCHlch(54.85, 56.35, 106.24°)
OKLaboklab(60.54% -0.0494 0.1173)
OKLCHoklch(60.54% 0.127 112.8)
XYZxyz(18.4712, 22.7830, 4.2885)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838918 #1E1889
analogous
#895718 #838918 #4B8918
triadic
#838918 #188389 #891883
tetradic
#838918 #188957 #1E1889 #89184B
square
#838918 #188957 #1E1889 #89184B
split-complementary
#838918 #184B89 #571889
monochromatic
#1F2106 #51550F #838918 #B5BD21 #D5DD3E

Accessibility & contrast

On white

3.78
#838918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#838918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838918
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838918#FFFFFF#000000##000000
##8389181.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#948423
Tritanopia (blue-blind)
#8C8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #838918;
/* rgb */ color: rgb(131, 137, 24);
/* oklch */ color: oklch(60.5% 0.127 112.8);
Tailwind
colors: {
  custom: {
    50: '#abab61',
    500: '#838918',
    950: '#000000',
  },
}
SCSS
$custom: #838918;
$custom-light: #abab61;
$custom-dark: #000000;
JSON
{
  "hex": "#838918",
  "rgb": {
    "r": 131,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 63.186,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.12728,
    "h": 112.8
  },
  "luminance": 0.22783
}

Semantic roles & 50–950 ramp

primary
#838918
secondary
#4740BD
accent
#3BED44
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #838918

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

Preview Lab → · Contrast checker → · Palette generator →

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