#838618#838618

#838618 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 59.8% C 0.124 H 111.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#838618
RGBrgb(131, 134, 24)
HSLhsl(62, 70%, 31%)
HSVhsv(62, 82%, 53%)
CMYKcmyk(2.2%, 0%, 82.1%, 47.5%)
CIE-LABlab(53.97, -14.17, 53.33)
CIE-LCHlch(53.97, 55.18, 104.88°)
OKLaboklab(59.83% -0.045 0.1156)
OKLCHoklch(59.83% 0.124 111.3)
XYZxyz(18.0507, 21.9419, 4.1483)
Luminance0.2194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838618 #1B1886
analogous
#865218 #838618 #4C8618
triadic
#838618 #188386 #861883
tetradic
#838618 #188652 #1B1886 #86184C
square
#838618 #188652 #1B1886 #86184C
split-complementary
#838618 #184C86 #521886
monochromatic
#1E1E05 #50520F #838618 #B6BA21 #D8DC3C

Accessibility & contrast

On white

3.90
#838618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#838618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838618
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838618#FFFFFF#000000##000000
##8386181.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#928223
Tritanopia (blue-blind)
#8D7D72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #838618;
/* rgb */ color: rgb(131, 134, 24);
/* oklch */ color: oklch(59.8% 0.124 111.3);
Tailwind
colors: {
  custom: {
    50: '#aba961',
    500: '#838618',
    950: '#000000',
  },
}
SCSS
$custom: #838618;
$custom-light: #aba961;
$custom-dark: #000000;
JSON
{
  "hex": "#838618",
  "rgb": {
    "r": 131,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 61.636,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5983,
    "c": 0.12409,
    "h": 111.3
  },
  "luminance": 0.21941
}

Semantic roles & 50–950 ramp

primary
#838618
secondary
#4340BA
accent
#3BEC40
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #838618

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

Preview Lab → · Contrast checker → · Palette generator →

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