#525E10#525E10

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

Color values

HEX#525E10
RGBrgb(82, 94, 16)
HSLhsl(69, 71%, 22%)
HSVhsv(69, 83%, 37%)
CMYKcmyk(12.8%, 0%, 83%, 63.1%)
CIE-LABlab(37.55, -15.63, 39.64)
CIE-LCHlch(37.55, 42.61, 111.51°)
OKLaboklab(45.63% -0.047 0.0869)
OKLCHoklch(45.63% 0.099 118.4)
XYZxyz(7.5761, 9.8367, 1.9897)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525E10 #1C105E
analogous
#5E4310 #525E10 #2B5E10
triadic
#525E10 #10525E #5E1052
tetradic
#525E10 #105E43 #1C105E #5E102B
square
#525E10 #105E43 #1C105E #5E102B
split-complementary
#525E10 #102B5E #43105E
monochromatic
#171A04 #242A07 #525E10 #809219 #ADC722

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525E10#FFFFFF#000000##FFFFFF
##525E101.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)
#655800
Deuteranopia (green-blind)
#645917
Tritanopia (blue-blind)
#575850
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #525e10;
/* rgb */ color: rgb(82, 94, 16);
/* oklch */ color: oklch(45.6% 0.099 118.4);
Tailwind
colors: {
  custom: {
    50: '#858b56',
    500: '#525e10',
    950: '#000000',
  },
}
SCSS
$custom: #525e10;
$custom-light: #858b56;
$custom-dark: #000000;
JSON
{
  "hex": "#525e10",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 16
  },
  "hsl": {
    "h": 69.231,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45628,
    "c": 0.09876,
    "h": 118.4
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#525E10
secondary
#423397
accent
#3AEE56
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #525E10

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

Preview Lab → · Contrast checker → · Palette generator →

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