#838C2E#838C2E

#838C2E is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.4% C 0.117 H 114.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#838C2E
RGBrgb(131, 140, 46)
HSLhsl(66, 51%, 36%)
HSVhsv(66, 67%, 55%)
CMYKcmyk(6.4%, 0%, 67.1%, 45.1%)
CIE-LABlab(55.87, -16.23, 47.13)
CIE-LCHlch(55.87, 49.84, 109.00°)
OKLaboklab(61.4% -0.0487 0.1065)
OKLCHoklch(61.4% 0.117 114.6)
XYZxyz(19.2318, 23.7791, 6.1609)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838C2E #372E8C
analogous
#8C662E #838C2E #548C2E
triadic
#838C2E #2E838C #8C2E83
tetradic
#838C2E #2E8C66 #372E8C #8C2E54
square
#838C2E #2E8C66 #372E8C #8C2E54
split-complementary
#838C2E #2E548C #662E8C
monochromatic
#2D3010 #585E1F #838C2E #AEBA3D #C3CD67

Accessibility & contrast

On white

3.65
#838C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#838C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838C2E
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838C2E#FFFFFF#000000##000000
##838C2E1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968521
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#8B8479
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #838c2e;
/* rgb */ color: rgb(131, 140, 46);
/* oklch */ color: oklch(61.4% 0.117 114.6);
Tailwind
colors: {
  custom: {
    50: '#aaad6c',
    500: '#838c2e',
    950: '#000000',
  },
}
SCSS
$custom: #838c2e;
$custom-light: #aaad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#838c2e",
  "rgb": {
    "r": 131,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 65.745,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61395,
    "c": 0.11707,
    "h": 114.6
  },
  "luminance": 0.23779
}

Semantic roles & 50–950 ramp

primary
#838C2E
secondary
#6A62B4
accent
#4EDA5B
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #838C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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