#827D22#827D22

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

Color values

HEX#827D22
RGBrgb(130, 125, 34)
HSLhsl(57, 59%, 32%)
HSVhsv(57, 74%, 51%)
CMYKcmyk(0%, 3.8%, 73.8%, 49%)
CIE-LABlab(51.30, -9.32, 47.42)
CIE-LCHlch(51.30, 48.33, 101.12°)
OKLaboklab(57.7% -0.0305 0.105)
OKLCHoklch(57.7% 0.109 106.2)
XYZxyz(16.8289, 19.5292, 4.3961)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827D22 #222782
analogous
#824D22 #827D22 #578222
triadic
#827D22 #22827D #7D2282
tetradic
#827D22 #22824D #222782 #822257
square
#827D22 #22824D #222782 #822257
split-complementary
#827D22 #225782 #4D2282
monochromatic
#212009 #514E15 #827D22 #B3AC2F #D1CA4E

Accessibility & contrast

On white

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

On black

4.91
#827D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #827D22
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827D22#FFFFFF#000000##000000
##827D221.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887812
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#8C746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #827d22;
/* rgb */ color: rgb(130, 125, 34);
/* oklch */ color: oklch(57.7% 0.109 106.2);
Tailwind
colors: {
  custom: {
    50: '#a9a264',
    500: '#827d22',
    950: '#000000',
  },
}
SCSS
$custom: #827d22;
$custom-light: #a9a264;
$custom-dark: #000000;
JSON
{
  "hex": "#827d22",
  "rgb": {
    "r": 130,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 56.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57698,
    "c": 0.10937,
    "h": 106.2
  },
  "luminance": 0.19529
}

Semantic roles & 50–950 ramp

primary
#827D22
secondary
#4C51B4
accent
#4EE246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #827D22

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

Preview Lab → · Contrast checker → · Palette generator →

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