#838428#838428

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

Color values

HEX#838428
RGBrgb(131, 132, 40)
HSLhsl(61, 53%, 34%)
HSVhsv(61, 70%, 52%)
CMYKcmyk(0.8%, 0%, 69.7%, 48.2%)
CIE-LABlab(53.47, -12.35, 47.19)
CIE-LCHlch(53.47, 48.78, 104.66°)
OKLaboklab(59.47% -0.0384 0.1056)
OKLCHoklch(59.47% 0.112 110)
XYZxyz(17.9949, 21.4815, 5.2055)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838428 #292884
analogous
#845728 #838428 #558428
triadic
#838428 #288384 #842883
tetradic
#838428 #288457 #292884 #842855
square
#838428 #288457 #292884 #842855
split-complementary
#838428 #285584 #572884
monochromatic
#26260C #54551A #838428 #B2B336 #CCCD5A

Accessibility & contrast

On white

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

On black

5.30
#838428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838428
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838428#FFFFFF#000000##000000
##8384281.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #838428;
/* rgb */ color: rgb(131, 132, 40);
/* oklch */ color: oklch(59.5% 0.112 110.0);
Tailwind
colors: {
  custom: {
    50: '#aaa768',
    500: '#838428',
    950: '#000000',
  },
}
SCSS
$custom: #838428;
$custom-light: #aaa768;
$custom-dark: #000000;
JSON
{
  "hex": "#838428",
  "rgb": {
    "r": 131,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 60.652,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59465,
    "c": 0.11239,
    "h": 110
  },
  "luminance": 0.21481
}

Semantic roles & 50–950 ramp

primary
#838428
secondary
#5756B2
accent
#4BDD4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838428

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

Preview Lab → · Contrast checker → · Palette generator →

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