#838F2E#838F2E

#838F2E is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.1% C 0.121 H 116.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#838F2E
RGBrgb(131, 143, 46)
HSLhsl(67, 51%, 37%)
HSVhsv(67, 68%, 56%)
CMYKcmyk(8.4%, 0%, 67.8%, 43.9%)
CIE-LABlab(56.75, -17.80, 48.04)
CIE-LCHlch(56.75, 51.23, 110.33°)
OKLaboklab(62.1% -0.053 0.1084)
OKLCHoklch(62.1% 0.121 116.1)
XYZxyz(19.6761, 24.6677, 6.3091)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838F2E #3A2E8F
analogous
#8F6B2E #838F2E #528F2E
triadic
#838F2E #2E838F #8F2E83
tetradic
#838F2E #2E8F6B #3A2E8F #8F2E52
square
#838F2E #2E8F6B #3A2E8F #8F2E52
split-complementary
#838F2E #2E528F #6B2E8F
monochromatic
#2E3210 #59611F #838F2E #ADBD3D #C2CF69

Accessibility & contrast

On white

3.54
#838F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#838F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838F2E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838F2E#FFFFFF#000000##000000
##838F2E1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998820
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#8B877B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #838f2e;
/* rgb */ color: rgb(131, 143, 46);
/* oklch */ color: oklch(62.1% 0.121 116.1);
Tailwind
colors: {
  custom: {
    50: '#aaaf6c',
    500: '#838f2e',
    950: '#000000',
  },
}
SCSS
$custom: #838f2e;
$custom-light: #aaaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#838f2e",
  "rgb": {
    "r": 131,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 67.423,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62104,
    "c": 0.12069,
    "h": 116.1
  },
  "luminance": 0.24667
}

Semantic roles & 50–950 ramp

primary
#838F2E
secondary
#6D63B6
accent
#4DDB5F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #838F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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