#838E2E#838E2E

#838E2E is a mid, moderate yellow. Relative luminance 0.244; OKLCH L 61.9% C 0.119 H 115.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#838E2E
RGBrgb(131, 142, 46)
HSLhsl(67, 51%, 37%)
HSVhsv(67, 68%, 56%)
CMYKcmyk(7.7%, 0%, 67.6%, 44.3%)
CIE-LABlab(56.46, -17.28, 47.73)
CIE-LCHlch(56.46, 50.76, 109.90°)
OKLaboklab(61.87% -0.0516 0.1078)
OKLCHoklch(61.87% 0.119 115.6)
XYZxyz(19.5267, 24.3688, 6.2592)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838E2E #392E8E
analogous
#8E692E #838E2E #538E2E
triadic
#838E2E #2E838E #8E2E83
tetradic
#838E2E #2E8E69 #392E8E #8E2E53
square
#838E2E #2E8E69 #392E8E #8E2E53
split-complementary
#838E2E #2E538E #692E8E
monochromatic
#2E3210 #58601F #838E2E #AEBC3D #C2CE68

Accessibility & contrast

On white

3.58
#838E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#838E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838E2E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838E2E#FFFFFF#000000##000000
##838E2E1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988721
Deuteranopia (green-blind)
#978835
Tritanopia (blue-blind)
#8B867B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #838e2e;
/* rgb */ color: rgb(131, 142, 46);
/* oklch */ color: oklch(61.9% 0.119 115.6);
Tailwind
colors: {
  custom: {
    50: '#aaaf6c',
    500: '#838e2e',
    950: '#000000',
  },
}
SCSS
$custom: #838e2e;
$custom-light: #aaaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#838e2e",
  "rgb": {
    "r": 131,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 66.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61867,
    "c": 0.11948,
    "h": 115.6
  },
  "luminance": 0.24369
}

Semantic roles & 50–950 ramp

primary
#838E2E
secondary
#6C63B5
accent
#4DDB5D
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #838E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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