#827F1E#827F1E

#827F1E is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.1% C 0.114 H 107.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#827F1E
RGBrgb(130, 127, 30)
HSLhsl(58, 63%, 31%)
HSVhsv(58, 77%, 51%)
CMYKcmyk(0%, 2.3%, 76.9%, 49%)
CIE-LABlab(51.86, -10.61, 49.45)
CIE-LCHlch(51.86, 50.57, 102.11°)
OKLaboklab(58.14% -0.0345 0.1085)
OKLCHoklch(58.14% 0.114 107.6)
XYZxyz(17.0303, 20.0189, 4.1950)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827F1E #1E2182
analogous
#824D1E #827F1E #53821E
triadic
#827F1E #1E827F #7F1E82
tetradic
#827F1E #1E824D #1E2182 #821E53
square
#827F1E #1E824D #1E2182 #821E53
split-complementary
#827F1E #1E5382 #4D1E82
monochromatic
#1F1E07 #504E13 #827F1E #B4B029 #D4D046

Accessibility & contrast

On white

4.20
#827F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#827F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #827F1E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827F1E#FFFFFF#000000##000000
##827F1E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A08
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#8C766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #827f1e;
/* rgb */ color: rgb(130, 127, 30);
/* oklch */ color: oklch(58.1% 0.114 107.6);
Tailwind
colors: {
  custom: {
    50: '#aaa362',
    500: '#827f1e',
    950: '#000000',
  },
}
SCSS
$custom: #827f1e;
$custom-light: #aaa362;
$custom-dark: #000000;
JSON
{
  "hex": "#827f1e",
  "rgb": {
    "r": 130,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 58.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58135,
    "c": 0.1139,
    "h": 107.6
  },
  "luminance": 0.20018
}

Semantic roles & 50–950 ramp

primary
#827F1E
secondary
#474AB5
accent
#47E642
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #827F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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