#827D20#827D20

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

Color values

HEX#827D20
RGBrgb(130, 125, 32)
HSLhsl(57, 60%, 32%)
HSVhsv(57, 75%, 51%)
CMYKcmyk(0%, 3.8%, 75.4%, 49%)
CIE-LABlab(51.29, -9.42, 48.18)
CIE-LCHlch(51.29, 49.09, 101.07°)
OKLaboklab(57.68% -0.031 0.1062)
OKLCHoklch(57.68% 0.111 106.3)
XYZxyz(16.8009, 19.5180, 4.2486)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827D20 #202582
analogous
#824C20 #827D20 #568220
triadic
#827D20 #20827D #7D2082
tetradic
#827D20 #20824C #202582 #822056
square
#827D20 #20824C #202582 #822056
split-complementary
#827D20 #205682 #4C2082
monochromatic
#201F08 #514E14 #827D20 #B3AC2C #D2CB4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##827D20#FFFFFF#000000##000000
##827D201.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)
#88780E
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#8C746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #827d20;
/* rgb */ color: rgb(130, 125, 32);
/* oklch */ color: oklch(57.7% 0.111 106.3);
Tailwind
colors: {
  custom: {
    50: '#a9a263',
    500: '#827d20',
    950: '#000000',
  },
}
SCSS
$custom: #827d20;
$custom-light: #a9a263;
$custom-dark: #000000;
JSON
{
  "hex": "#827d20",
  "rgb": {
    "r": 130,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 56.939,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57683,
    "c": 0.11067,
    "h": 106.3
  },
  "luminance": 0.19517
}

Semantic roles & 50–950 ramp

primary
#827D20
secondary
#494FB5
accent
#4CE444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #827D20

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

Preview Lab → · Contrast checker → · Palette generator →

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