#817948#817948

#817948 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.1% C 0.069 H 100.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#817948
RGBrgb(129, 121, 72)
HSLhsl(52, 28%, 39%)
HSVhsv(52, 44%, 51%)
CMYKcmyk(0%, 6.2%, 44.2%, 49.4%)
CIE-LABlab(50.46, -4.44, 27.92)
CIE-LCHlch(50.46, 28.27, 99.03°)
OKLaboklab(57.14% -0.0121 0.0678)
OKLCHoklch(57.14% 0.069 100.2)
XYZxyz(17.0607, 18.8103, 8.8617)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817948 #485081
analogous
#815D48 #817948 #6D8148
triadic
#817948 #488179 #794881
tetradic
#817948 #48815D #485081 #81486D
square
#817948 #48815D #485081 #81486D
split-complementary
#817948 #486D81 #5D4881
monochromatic
#322F1C #5A5432 #817948 #A69C60 #BCB587

Accessibility & contrast

On white

4.41
#817948 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#817948 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817948
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817948#FFFFFF#000000##000000
##8179481.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#827644
Deuteranopia (green-blind)
#847A4A
Tritanopia (blue-blind)
#89736D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #817948;
/* rgb */ color: rgb(129, 121, 72);
/* oklch */ color: oklch(57.1% 0.069 100.2);
Tailwind
colors: {
  custom: {
    50: '#a79f7c',
    500: '#817948',
    950: '#000000',
  },
}
SCSS
$custom: #817948;
$custom-light: #a79f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#817948",
  "rgb": {
    "r": 129,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 51.579,
    "s": 28.358,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57144,
    "c": 0.06886,
    "h": 100.2
  },
  "luminance": 0.1881
}

Semantic roles & 50–950 ramp

primary
#817948
secondary
#7D83A8
accent
#71C563
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #817948

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

Preview Lab → · Contrast checker → · Palette generator →

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