#838718#838718

#838718 is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 60.1% C 0.125 H 111.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#838718
RGBrgb(131, 135, 24)
HSLhsl(62, 70%, 31%)
HSVhsv(62, 82%, 53%)
CMYKcmyk(3%, 0%, 82.2%, 47.1%)
CIE-LABlab(54.26, -14.71, 53.59)
CIE-LCHlch(54.26, 55.57, 105.34°)
OKLaboklab(60.07% -0.0465 0.1162)
OKLCHoklch(60.07% 0.125 111.8)
XYZxyz(18.1896, 22.2197, 4.1946)
Luminance0.2222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838718 #1C1887
analogous
#875318 #838718 #4B8718
triadic
#838718 #188387 #871883
tetradic
#838718 #188753 #1C1887 #87184B
square
#838718 #188753 #1C1887 #87184B
split-complementary
#838718 #184B87 #531887
monochromatic
#1E1F06 #51530F #838718 #B5BB21 #D7DC3D

Accessibility & contrast

On white

3.86
#838718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#838718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838718
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838718#FFFFFF#000000##000000
##8387181.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#938323
Tritanopia (blue-blind)
#8D7E73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #838718;
/* rgb */ color: rgb(131, 135, 24);
/* oklch */ color: oklch(60.1% 0.125 111.8);
Tailwind
colors: {
  custom: {
    50: '#aba961',
    500: '#838718',
    950: '#000000',
  },
}
SCSS
$custom: #838718;
$custom-light: #aba961;
$custom-dark: #000000;
JSON
{
  "hex": "#838718",
  "rgb": {
    "r": 131,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 62.162,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60065,
    "c": 0.12514,
    "h": 111.8
  },
  "luminance": 0.22219
}

Semantic roles & 50–950 ramp

primary
#838718
secondary
#4540BB
accent
#3BED42
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #838718

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

Preview Lab → · Contrast checker → · Palette generator →

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