#817028#817028

#817028 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.7% C 0.093 H 95.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#817028
RGBrgb(129, 112, 40)
HSLhsl(49, 53%, 33%)
HSVhsv(49, 69%, 51%)
CMYKcmyk(0%, 13.2%, 69%, 49.4%)
CIE-LABlab(47.51, -2.15, 41.01)
CIE-LCHlch(47.51, 41.06, 93.01°)
OKLaboklab(54.68% -0.0094 0.0926)
OKLCHoklch(54.68% 0.093 95.8)
XYZxyz(15.2312, 16.4094, 4.3721)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817028 #283981
analogous
#814328 #817028 #658128
triadic
#817028 #288170 #702881
tetradic
#817028 #288143 #283981 #812865
square
#817028 #288143 #283981 #812865
split-complementary
#817028 #286581 #432881
monochromatic
#241F0B #52471A #817028 #B09936 #CBB558

Accessibility & contrast

On white

4.90
#817028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#817028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817028
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817028#FFFFFF#000000##FFFFFF
##8170281.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E1F
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#8B6761
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #817028;
/* rgb */ color: rgb(129, 112, 40);
/* oklch */ color: oklch(54.7% 0.093 95.8);
Tailwind
colors: {
  custom: {
    50: '#a89866',
    500: '#817028',
    950: '#000000',
  },
}
SCSS
$custom: #817028;
$custom-light: #a89866;
$custom-dark: #000000;
JSON
{
  "hex": "#817028",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 40
  },
  "hsl": {
    "h": 48.539,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54677,
    "c": 0.0931,
    "h": 95.8
  },
  "luminance": 0.16409
}

Semantic roles & 50–950 ramp

primary
#817028
secondary
#5466B0
accent
#67DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #817028

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

Preview Lab → · Contrast checker → · Palette generator →

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