#818525#818525

#818525 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.5% C 0.116 H 111.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#818525
RGBrgb(129, 133, 37)
HSLhsl(63, 56%, 33%)
HSVhsv(63, 72%, 52%)
CMYKcmyk(3%, 0%, 72.2%, 47.8%)
CIE-LABlab(53.57, -13.96, 48.44)
CIE-LCHlch(53.57, 50.41, 106.07°)
OKLaboklab(59.5% -0.0431 0.1078)
OKLCHoklch(59.5% 0.116 111.8)
XYZxyz(17.7753, 21.5762, 4.9782)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818525 #292585
analogous
#855925 #818525 #518525
triadic
#818525 #258185 #852581
tetradic
#818525 #258559 #292585 #852551
square
#818525 #258559 #292585 #852551
split-complementary
#818525 #255185 #592585
monochromatic
#24250A #535518 #818525 #AFB532 #CBD055

Accessibility & contrast

On white

3.95
#818525 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#818525 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818525
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818525#FFFFFF#000000##000000
##8185251.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F15
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#8A7D72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #818525;
/* rgb */ color: rgb(129, 133, 37);
/* oklch */ color: oklch(59.5% 0.116 111.8);
Tailwind
colors: {
  custom: {
    50: '#a8a866',
    500: '#818525',
    950: '#000000',
  },
}
SCSS
$custom: #818525;
$custom-light: #a8a866;
$custom-dark: #000000;
JSON
{
  "hex": "#818525",
  "rgb": {
    "r": 129,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 62.5,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59498,
    "c": 0.11608,
    "h": 111.8
  },
  "luminance": 0.21576
}

Semantic roles & 50–950 ramp

primary
#818525
secondary
#5652B4
accent
#48E04E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #818525

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

Preview Lab → · Contrast checker → · Palette generator →

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