#827D1E#827D1E

#827D1E is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.7% C 0.112 H 106.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#827D1E
RGBrgb(130, 125, 30)
HSLhsl(57, 63%, 31%)
HSVhsv(57, 77%, 51%)
CMYKcmyk(0%, 3.8%, 76.9%, 49%)
CIE-LABlab(51.28, -9.52, 48.90)
CIE-LCHlch(51.28, 49.82, 101.01°)
OKLaboklab(57.67% -0.0315 0.1074)
OKLCHoklch(57.67% 0.112 106.3)
XYZxyz(16.7746, 19.5074, 4.1097)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827D1E #1E2382
analogous
#824B1E #827D1E #55821E
triadic
#827D1E #1E827D #7D1E82
tetradic
#827D1E #1E824B #1E2382 #821E55
square
#827D1E #1E824B #1E2382 #821E55
split-complementary
#827D1E #1E5582 #4B1E82
monochromatic
#1F1D07 #504D13 #827D1E #B4AD29 #D4CD46

Accessibility & contrast

On white

4.28
#827D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#827D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #827D1E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827D1E#FFFFFF#000000##000000
##827D1E1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#8C746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #827d1e;
/* rgb */ color: rgb(130, 125, 30);
/* oklch */ color: oklch(57.7% 0.112 106.3);
Tailwind
colors: {
  custom: {
    50: '#aaa262',
    500: '#827d1e',
    950: '#000000',
  },
}
SCSS
$custom: #827d1e;
$custom-light: #aaa262;
$custom-dark: #000000;
JSON
{
  "hex": "#827d1e",
  "rgb": {
    "r": 130,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 57,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.11191,
    "h": 106.3
  },
  "luminance": 0.19507
}

Semantic roles & 50–950 ramp

primary
#827D1E
secondary
#474CB5
accent
#4AE642
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #827D1E

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

Preview Lab → · Contrast checker → · Palette generator →

#827D1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva