#838427#838427

#838427 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.5% C 0.113 H 110.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#838427
RGBrgb(131, 132, 39)
HSLhsl(61, 54%, 34%)
HSVhsv(61, 70%, 52%)
CMYKcmyk(0.8%, 0%, 70.5%, 48.2%)
CIE-LABlab(53.47, -12.40, 47.59)
CIE-LCHlch(53.47, 49.18, 104.61°)
OKLaboklab(59.46% -0.0387 0.1063)
OKLCHoklch(59.46% 0.113 110)
XYZxyz(17.9781, 21.4748, 5.1171)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838427 #282784
analogous
#845627 #838427 #548427
triadic
#838427 #278384 #842783
tetradic
#838427 #278456 #282784 #842754
square
#838427 #278456 #282784 #842754
split-complementary
#838427 #275484 #562784
monochromatic
#25260B #545519 #838427 #B2B335 #CCCE58

Accessibility & contrast

On white

3.97
#838427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#838427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838427
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838427#FFFFFF#000000##000000
##8384271.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E18
Deuteranopia (green-blind)
#90812E
Tritanopia (blue-blind)
#8C7C72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #838427;
/* rgb */ color: rgb(131, 132, 39);
/* oklch */ color: oklch(59.5% 0.113 110.0);
Tailwind
colors: {
  custom: {
    50: '#aaa767',
    500: '#838427',
    950: '#000000',
  },
}
SCSS
$custom: #838427;
$custom-light: #aaa767;
$custom-dark: #000000;
JSON
{
  "hex": "#838427",
  "rgb": {
    "r": 131,
    "g": 132,
    "b": 39
  },
  "hsl": {
    "h": 60.645,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59457,
    "c": 0.1131,
    "h": 110
  },
  "luminance": 0.21474
}

Semantic roles & 50–950 ramp

primary
#838427
secondary
#5554B2
accent
#4ADE4C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838427

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

Preview Lab → · Contrast checker → · Palette generator →

#838427 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva