#838418#838418

#838418 is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.4% C 0.122 H 110.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#838418
RGBrgb(131, 132, 24)
HSLhsl(61, 69%, 31%)
HSVhsv(61, 82%, 52%)
CMYKcmyk(0.8%, 0%, 81.8%, 48.2%)
CIE-LABlab(53.38, -13.10, 52.82)
CIE-LCHlch(53.38, 54.42, 103.93°)
OKLaboklab(59.36% -0.0421 0.1145)
OKLCHoklch(59.36% 0.122 110.2)
XYZxyz(17.7769, 21.3943, 4.0571)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838418 #191884
analogous
#844F18 #838418 #4D8418
triadic
#838418 #188384 #841883
tetradic
#838418 #18844F #191884 #84184D
square
#838418 #18844F #191884 #84184D
split-complementary
#838418 #184D84 #4F1884
monochromatic
#1C1C05 #50500F #838418 #B6B821 #DADB3B

Accessibility & contrast

On white

3.98
#838418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#838418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838418
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838418#FFFFFF#000000##000000
##8384181.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#8D7B70
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #838418;
/* rgb */ color: rgb(131, 132, 24);
/* oklch */ color: oklch(59.4% 0.122 110.2);
Tailwind
colors: {
  custom: {
    50: '#aba760',
    500: '#838418',
    950: '#000000',
  },
}
SCSS
$custom: #838418;
$custom-light: #aba760;
$custom-dark: #000000;
JSON
{
  "hex": "#838418",
  "rgb": {
    "r": 131,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 60.556,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5936,
    "c": 0.122,
    "h": 110.2
  },
  "luminance": 0.21394
}

Semantic roles & 50–950 ramp

primary
#838418
secondary
#4140B8
accent
#3CEC3D
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #838418

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

Preview Lab → · Contrast checker → · Palette generator →

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