#525E12#525E12

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

Color values

HEX#525E12
RGBrgb(82, 94, 18)
HSLhsl(69, 68%, 22%)
HSVhsv(69, 81%, 37%)
CMYKcmyk(12.8%, 0%, 80.9%, 63.1%)
CIE-LABlab(37.56, -15.53, 38.95)
CIE-LCHlch(37.56, 41.93, 111.74°)
OKLaboklab(45.64% -0.0465 0.0858)
OKLCHoklch(45.64% 0.098 118.5)
XYZxyz(7.5917, 9.8430, 2.0721)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525E12 #1E125E
analogous
#5E4412 #525E12 #2C5E12
triadic
#525E12 #12525E #5E1252
tetradic
#525E12 #125E44 #1E125E #5E122C
square
#525E12 #125E44 #1E125E #5E122C
split-complementary
#525E12 #122C5E #44125E
monochromatic
#161A05 #252B08 #525E12 #7F911C #ACC526

Accessibility & contrast

On white

7.07
#525E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #525E12
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525E12#FFFFFF#000000##FFFFFF
##525E121.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #525e12;
/* rgb */ color: rgb(82, 94, 18);
/* oklch */ color: oklch(45.6% 0.098 118.5);
Tailwind
colors: {
  custom: {
    50: '#858b57',
    500: '#525e12',
    950: '#000000',
  },
}
SCSS
$custom: #525e12;
$custom-light: #858b57;
$custom-dark: #000000;
JSON
{
  "hex": "#525e12",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 69.474,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45641,
    "c": 0.09759,
    "h": 118.5
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#525E12
secondary
#453596
accent
#3DEB58
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #525E12

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

Preview Lab → · Contrast checker → · Palette generator →

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