#827F25#827F25

#827F25 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.2% C 0.109 H 107.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#827F25
RGBrgb(130, 127, 37)
HSLhsl(58, 56%, 33%)
HSVhsv(58, 72%, 51%)
CMYKcmyk(0%, 2.3%, 71.5%, 49%)
CIE-LABlab(51.90, -10.26, 46.82)
CIE-LCHlch(51.90, 47.93, 102.36°)
OKLaboklab(58.18% -0.0328 0.1043)
OKLCHoklch(58.18% 0.109 107.5)
XYZxyz(17.1299, 20.0587, 4.7193)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#827F25 #252882
analogous
#825125 #827F25 #568225
triadic
#827F25 #25827F #7F2582
tetradic
#827F25 #258251 #252882 #822556
square
#827F25 #258251 #252882 #822556
split-complementary
#827F25 #255682 #512582
monochromatic
#23220A #525017 #827F25 #B2AE33 #CECA53

Accessibility & contrast

On white

4.19
#827F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#827F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #827F25
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##827F25#FFFFFF#000000##000000
##827F251.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #827f25;
/* rgb */ color: rgb(130, 127, 37);
/* oklch */ color: oklch(58.2% 0.109 107.5);
Tailwind
colors: {
  custom: {
    50: '#a9a366',
    500: '#827f25',
    950: '#000000',
  },
}
SCSS
$custom: #827f25;
$custom-light: #a9a366;
$custom-dark: #000000;
JSON
{
  "hex": "#827f25",
  "rgb": {
    "r": 130,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 58.065,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58185,
    "c": 0.10937,
    "h": 107.5
  },
  "luminance": 0.20058
}

Semantic roles & 50–950 ramp

primary
#827F25
secondary
#5054B2
accent
#4EDF49
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #827F25

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

Preview Lab → · Contrast checker → · Palette generator →

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