#838C1E#838C1E

#838C1E is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.3% C 0.128 H 114.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#838C1E
RGBrgb(131, 140, 30)
HSLhsl(65, 65%, 33%)
HSVhsv(65, 79%, 55%)
CMYKcmyk(6.4%, 0%, 78.6%, 45.1%)
CIE-LABlab(55.76, -17.10, 53.08)
CIE-LCHlch(55.76, 55.77, 107.86°)
OKLaboklab(61.28% -0.0526 0.1162)
OKLCHoklch(61.28% 0.128 114.4)
XYZxyz(18.9731, 23.6756, 4.7984)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838C1E #271E8C
analogous
#8C5E1E #838C1E #4C8C1E
triadic
#838C1E #1E838C #8C1E83
tetradic
#838C1E #1E8C5E #271E8C #8C1E4C
square
#838C1E #1E8C5E #271E8C #8C1E4C
split-complementary
#838C1E #1E4C8C #5E1E8C
monochromatic
#252708 #545A13 #838C1E #B2BE29 #CDD94C

Accessibility & contrast

On white

3.66
#838C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#838C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838C1E
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838C1E#FFFFFF#000000##000000
##838C1E1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#968728
Tritanopia (blue-blind)
#8C8378
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #838c1e;
/* rgb */ color: rgb(131, 140, 30);
/* oklch */ color: oklch(61.3% 0.128 114.4);
Tailwind
colors: {
  custom: {
    50: '#aaad64',
    500: '#838c1e',
    950: '#000000',
  },
}
SCSS
$custom: #838c1e;
$custom-light: #aaad64;
$custom-dark: #000000;
JSON
{
  "hex": "#838c1e",
  "rgb": {
    "r": 131,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 64.909,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61278,
    "c": 0.12759,
    "h": 114.4
  },
  "luminance": 0.23675
}

Semantic roles & 50–950 ramp

primary
#838C1E
secondary
#544BBB
accent
#40E84E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #838C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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