#525F12#525F12

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

Color values

HEX#525F12
RGBrgb(82, 95, 18)
HSLhsl(70, 68%, 22%)
HSVhsv(70, 81%, 37%)
CMYKcmyk(13.7%, 0%, 81.1%, 62.7%)
CIE-LABlab(37.88, -16.08, 39.25)
CIE-LCHlch(37.88, 42.41, 112.28°)
OKLaboklab(45.9% -0.048 0.0864)
OKLCHoklch(45.9% 0.099 119.1)
XYZxyz(7.6812, 10.0220, 2.1019)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525F12 #1F125F
analogous
#5F4612 #525F12 #2C5F12
triadic
#525F12 #12525F #5F1252
tetradic
#525F12 #125F46 #1F125F #5F122C
square
#525F12 #125F46 #1F125F #5F122C
split-complementary
#525F12 #122C5F #46125F
monochromatic
#161A05 #262C08 #525F12 #7E921C #ABC625

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525F12#FFFFFF#000000##FFFFFF
##525F121.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)
#665902
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#575951
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #525f12;
/* rgb */ color: rgb(82, 95, 18);
/* oklch */ color: oklch(45.9% 0.099 119.1);
Tailwind
colors: {
  custom: {
    50: '#858c57',
    500: '#525f12',
    950: '#000000',
  },
}
SCSS
$custom: #525f12;
$custom-light: #858c57;
$custom-dark: #000000;
JSON
{
  "hex": "#525f12",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 70.13,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45901,
    "c": 0.09887,
    "h": 119.1
  },
  "luminance": 0.10022
}

Semantic roles & 50–950 ramp

primary
#525F12
secondary
#463697
accent
#3DEB5A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #525F12

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

Preview Lab → · Contrast checker → · Palette generator →

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