#827D23#827D23

#827D23 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#827D23
RGBrgb(130, 125, 35)
HSLhsl(57, 58%, 32%)
HSVhsv(57, 73%, 51%)
CMYKcmyk(0%, 3.8%, 73.1%, 49%)
CIE-LABlab(51.31, -9.27, 47.04)
CIE-LCHlch(51.31, 47.94, 101.15°)
OKLaboklab(57.71% -0.0303 0.1044)
OKLCHoklch(57.71% 0.109 106.2)
XYZxyz(16.8436, 19.5350, 4.4732)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827D23 #232882
analogous
#824D23 #827D23 #588223
triadic
#827D23 #23827D #7D2382
tetradic
#827D23 #23824D #232882 #822358
square
#827D23 #23824D #232882 #822358
split-complementary
#827D23 #235882 #4D2382
monochromatic
#222009 #524F16 #827D23 #B2AB30 #D0C950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##827D23#FFFFFF#000000##000000
##827D231.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)
#887814
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#8C746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #827d23;
/* rgb */ color: rgb(130, 125, 35);
/* oklch */ color: oklch(57.7% 0.109 106.2);
Tailwind
colors: {
  custom: {
    50: '#a9a264',
    500: '#827d23',
    950: '#000000',
  },
}
SCSS
$custom: #827d23;
$custom-light: #a9a264;
$custom-dark: #000000;
JSON
{
  "hex": "#827d23",
  "rgb": {
    "r": 130,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 56.842,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57705,
    "c": 0.10871,
    "h": 106.2
  },
  "luminance": 0.19534
}

Semantic roles & 50–950 ramp

primary
#827D23
secondary
#4D53B3
accent
#4FE147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #827D23

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

Preview Lab → · Contrast checker → · Palette generator →

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