#525E11#525E11

#525E11 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.6% C 0.098 H 118.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#525E11
RGBrgb(82, 94, 17)
HSLhsl(69, 69%, 22%)
HSVhsv(69, 82%, 37%)
CMYKcmyk(12.8%, 0%, 81.9%, 63.1%)
CIE-LABlab(37.55, -15.58, 39.30)
CIE-LCHlch(37.55, 42.28, 111.62°)
OKLaboklab(45.64% -0.0467 0.0863)
OKLCHoklch(45.64% 0.098 118.4)
XYZxyz(7.5837, 9.8398, 2.0300)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525E11 #1D115E
analogous
#5E4411 #525E11 #2C5E11
triadic
#525E11 #11525E #5E1152
tetradic
#525E11 #115E44 #1D115E #5E112C
square
#525E11 #115E44 #1D115E #5E112C
split-complementary
#525E11 #112C5E #44115E
monochromatic
#171A05 #252A08 #525E11 #7F921A #ACC624

Accessibility & contrast

On white

7.08
#525E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#525E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525E11
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525E11#FFFFFF#000000##FFFFFF
##525E111.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655801
Deuteranopia (green-blind)
#635918
Tritanopia (blue-blind)
#575850
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #525e11;
/* rgb */ color: rgb(82, 94, 17);
/* oklch */ color: oklch(45.6% 0.098 118.4);
Tailwind
colors: {
  custom: {
    50: '#858b56',
    500: '#525e11',
    950: '#000000',
  },
}
SCSS
$custom: #525e11;
$custom-light: #858b56;
$custom-dark: #000000;
JSON
{
  "hex": "#525e11",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 69.351,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45635,
    "c": 0.09818,
    "h": 118.4
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#525E11
secondary
#443497
accent
#3CEC57
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #525E11

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

Preview Lab → · Contrast checker → · Palette generator →

#525E11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva