#838F1E#838F1E

#838F1E is a mid, vivid yellow. Relative luminance 0.246; OKLCH L 62.0% C 0.131 H 115.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#838F1E
RGBrgb(131, 143, 30)
HSLhsl(66, 65%, 34%)
HSVhsv(66, 79%, 56%)
CMYKcmyk(8.4%, 0%, 79%, 43.9%)
CIE-LABlab(56.65, -18.66, 53.89)
CIE-LCHlch(56.65, 57.03, 109.10°)
OKLaboklab(61.99% -0.0569 0.1179)
OKLCHoklch(61.99% 0.131 115.8)
XYZxyz(19.4174, 24.5643, 4.9465)
Luminance0.2456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838F1E #2A1E8F
analogous
#8F631E #838F1E #4B8F1E
triadic
#838F1E #1E838F #8F1E83
tetradic
#838F1E #1E8F63 #2A1E8F #8F1E4B
square
#838F1E #1E8F63 #2A1E8F #8F1E4B
split-complementary
#838F1E #1E4B8F #631E8F
monochromatic
#262A09 #555C13 #838F1E #B1C229 #CBDA4E

Accessibility & contrast

On white

3.55
#838F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#838F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838F1E
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838F1E#FFFFFF#000000##000000
##838F1E1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#8C867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #838f1e;
/* rgb */ color: rgb(131, 143, 30);
/* oklch */ color: oklch(62.0% 0.131 115.8);
Tailwind
colors: {
  custom: {
    50: '#aaaf64',
    500: '#838f1e',
    950: '#000000',
  },
}
SCSS
$custom: #838f1e;
$custom-light: #aaaf64;
$custom-dark: #000000;
JSON
{
  "hex": "#838f1e",
  "rgb": {
    "r": 131,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 66.372,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.6199,
    "c": 0.13097,
    "h": 115.8
  },
  "luminance": 0.24564
}

Semantic roles & 50–950 ramp

primary
#838F1E
secondary
#584CBC
accent
#40E851
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #838F1E

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

Preview Lab → · Contrast checker → · Palette generator →

#838F1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva