#838028#838028

#838028 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.5% C 0.108 H 107.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#838028
RGBrgb(131, 128, 40)
HSLhsl(58, 53%, 34%)
HSVhsv(58, 69%, 51%)
CMYKcmyk(0%, 2.3%, 69.5%, 48.6%)
CIE-LABlab(52.31, -10.17, 46.02)
CIE-LCHlch(52.31, 47.13, 102.47°)
OKLaboklab(58.53% -0.0323 0.1031)
OKLCHoklch(58.53% 0.108 107.4)
XYZxyz(17.4629, 20.4174, 5.0281)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838028 #282B83
analogous
#835228 #838028 #588328
triadic
#838028 #288380 #802883
tetradic
#838028 #288352 #282B83 #832858
square
#838028 #288352 #282B83 #832858
split-complementary
#838028 #285883 #522883
monochromatic
#25240B #54521A #838028 #B2AE36 #CCC959

Accessibility & contrast

On white

4.13
#838028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#838028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838028
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838028#FFFFFF#000000##000000
##8380281.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1B
Deuteranopia (green-blind)
#8D7E2E
Tritanopia (blue-blind)
#8D786E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #838028;
/* rgb */ color: rgb(131, 128, 40);
/* oklch */ color: oklch(58.5% 0.108 107.4);
Tailwind
colors: {
  custom: {
    50: '#aaa467',
    500: '#838028',
    950: '#000000',
  },
}
SCSS
$custom: #838028;
$custom-light: #aaa467;
$custom-dark: #000000;
JSON
{
  "hex": "#838028",
  "rgb": {
    "r": 131,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 58.022,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58534,
    "c": 0.10808,
    "h": 107.4
  },
  "luminance": 0.20417
}

Semantic roles & 50–950 ramp

primary
#838028
secondary
#5558B1
accent
#50DD4B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838028

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

Preview Lab → · Contrast checker → · Palette generator →

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