#525F10#525F10

#525F10 is a mid, moderate yellow. Relative luminance 0.100; OKLCH L 45.9% C 0.100 H 119.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#525F10
RGBrgb(82, 95, 16)
HSLhsl(70, 71%, 22%)
HSVhsv(70, 83%, 37%)
CMYKcmyk(13.7%, 0%, 83.2%, 62.7%)
CIE-LABlab(37.87, -16.17, 39.94)
CIE-LCHlch(37.87, 43.09, 112.05°)
OKLaboklab(45.89% -0.0485 0.0875)
OKLCHoklch(45.89% 0.1 119)
XYZxyz(7.6656, 10.0157, 2.0195)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525F10 #1D105F
analogous
#5F4510 #525F10 #2B5F10
triadic
#525F10 #10525F #5F1052
tetradic
#525F10 #105F45 #1D105F #5F102B
square
#525F10 #105F45 #1D105F #5F102B
split-complementary
#525F10 #102B5F #45105F
monochromatic
#171A04 #252B07 #525F10 #7F9319 #ACC822

Accessibility & contrast

On white

6.99
#525F10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#525F10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525F10
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525F10#FFFFFF#000000##FFFFFF
##525F101.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#645918
Tritanopia (blue-blind)
#575950
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #525f10;
/* rgb */ color: rgb(82, 95, 16);
/* oklch */ color: oklch(45.9% 0.100 119.0);
Tailwind
colors: {
  custom: {
    50: '#858c56',
    500: '#525f10',
    950: '#000000',
  },
}
SCSS
$custom: #525f10;
$custom-light: #858c56;
$custom-dark: #000000;
JSON
{
  "hex": "#525f10",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 69.873,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45888,
    "c": 0.10003,
    "h": 119
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#525F10
secondary
#443398
accent
#3AEE58
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #525F10

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

Preview Lab → · Contrast checker → · Palette generator →

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