#828027#828027

#828027 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.4% C 0.109 H 108.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#828027
RGBrgb(130, 128, 39)
HSLhsl(59, 54%, 33%)
HSVhsv(59, 70%, 51%)
CMYKcmyk(0%, 1.5%, 70%, 49%)
CIE-LABlab(52.21, -10.69, 46.31)
CIE-LCHlch(52.21, 47.52, 103.00°)
OKLaboklab(58.43% -0.0338 0.1036)
OKLCHoklch(58.43% 0.109 108.1)
XYZxyz(17.2919, 20.3312, 4.9325)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#828027 #272982
analogous
#825227 #828027 #568227
triadic
#828027 #278280 #802782
tetradic
#828027 #278252 #272982 #822756
square
#828027 #278252 #272982 #822756
split-complementary
#828027 #275682 #522782
monochromatic
#24230B #535219 #828027 #B1AE35 #CDCA57

Accessibility & contrast

On white

4.15
#828027 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#828027 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #828027
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##828027#FFFFFF#000000##000000
##8280271.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#8B786E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #828027;
/* rgb */ color: rgb(130, 128, 39);
/* oklch */ color: oklch(58.4% 0.109 108.1);
Tailwind
colors: {
  custom: {
    50: '#a9a467',
    500: '#828027',
    950: '#000000',
  },
}
SCSS
$custom: #828027;
$custom-light: #a9a467;
$custom-dark: #000000;
JSON
{
  "hex": "#828027",
  "rgb": {
    "r": 130,
    "g": 128,
    "b": 39
  },
  "hsl": {
    "h": 58.681,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58434,
    "c": 0.10898,
    "h": 108.1
  },
  "luminance": 0.20331
}

Semantic roles & 50–950 ramp

primary
#828027
secondary
#5355B1
accent
#4EDD4B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #828027

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

Preview Lab → · Contrast checker → · Palette generator →

#828027 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva