#827240#827240

#827240 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.5% C 0.072 H 92.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#827240
RGBrgb(130, 114, 64)
HSLhsl(45, 34%, 38%)
HSVhsv(45, 51%, 51%)
CMYKcmyk(0%, 12.3%, 50.8%, 49%)
CIE-LABlab(48.45, -0.87, 29.84)
CIE-LCHlch(48.45, 29.85, 91.67°)
OKLaboklab(55.54% -0.0027 0.0715)
OKLCHoklch(55.54% 0.072 92.2)
XYZxyz(16.1492, 17.1513, 7.3094)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827240 #405082
analogous
#825140 #827240 #718240
triadic
#827240 #408272 #724082
tetradic
#827240 #408251 #405082 #824071
square
#827240 #408251 #405082 #824071
split-complementary
#827240 #407182 #514082
monochromatic
#302A18 #594E2C #827240 #AB9654 #BFAF7D

Accessibility & contrast

On white

4.74
#827240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#827240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #827240
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827240#FFFFFF#000000##FFFFFF
##8272401.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C703C
Deuteranopia (green-blind)
#807542
Tritanopia (blue-blind)
#8B6B66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #827240;
/* rgb */ color: rgb(130, 114, 64);
/* oklch */ color: oklch(55.5% 0.072 92.2);
Tailwind
colors: {
  custom: {
    50: '#a89a76',
    500: '#827240',
    950: '#000000',
  },
}
SCSS
$custom: #827240;
$custom-light: #a89a76;
$custom-dark: #000000;
JSON
{
  "hex": "#827240",
  "rgb": {
    "r": 130,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 45.455,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.55535,
    "c": 0.07155,
    "h": 92.2
  },
  "luminance": 0.17151
}

Semantic roles & 50–950 ramp

primary
#827240
secondary
#7481AA
accent
#78CA5E
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100E08
muted
#7F7E7B

Preview Lab

Preview with #827240

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

Preview Lab → · Contrast checker → · Palette generator →

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