#838E1E#838E1E

#838E1E is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.8% C 0.130 H 115.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#838E1E
RGBrgb(131, 142, 30)
HSLhsl(66, 65%, 34%)
HSVhsv(66, 79%, 56%)
CMYKcmyk(7.7%, 0%, 78.9%, 44.3%)
CIE-LABlab(56.35, -18.14, 53.62)
CIE-LCHlch(56.35, 56.61, 108.69°)
OKLaboklab(61.75% -0.0555 0.1174)
OKLCHoklch(61.75% 0.13 115.3)
XYZxyz(19.2680, 24.2654, 4.8967)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838E1E #291E8E
analogous
#8E611E #838E1E #4B8E1E
triadic
#838E1E #1E838E #8E1E83
tetradic
#838E1E #1E8E61 #291E8E #8E1E4B
square
#838E1E #1E8E61 #291E8E #8E1E4B
split-complementary
#838E1E #1E4B8E #611E8E
monochromatic
#262909 #545B13 #838E1E #B2C129 #CCD94D

Accessibility & contrast

On white

3.59
#838E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#838E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838E1E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838E1E#FFFFFF#000000##000000
##838E1E1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#8C8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #838e1e;
/* rgb */ color: rgb(131, 142, 30);
/* oklch */ color: oklch(61.8% 0.130 115.3);
Tailwind
colors: {
  custom: {
    50: '#aaae64',
    500: '#838e1e',
    950: '#000000',
  },
}
SCSS
$custom: #838e1e;
$custom-light: #aaae64;
$custom-dark: #000000;
JSON
{
  "hex": "#838e1e",
  "rgb": {
    "r": 131,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 65.893,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61752,
    "c": 0.12984,
    "h": 115.3
  },
  "luminance": 0.24265
}

Semantic roles & 50–950 ramp

primary
#838E1E
secondary
#574CBC
accent
#40E850
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #838E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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