#525E14#525E14

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

Color values

HEX#525E14
RGBrgb(82, 94, 20)
HSLhsl(70, 65%, 22%)
HSVhsv(70, 79%, 37%)
CMYKcmyk(12.8%, 0%, 78.7%, 63.1%)
CIE-LABlab(37.57, -15.42, 38.21)
CIE-LCHlch(37.57, 41.20, 111.98°)
OKLaboklab(45.66% -0.046 0.0846)
OKLCHoklch(45.66% 0.096 118.5)
XYZxyz(7.6088, 9.8498, 2.1621)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525E14 #20145E
analogous
#5E4514 #525E14 #2D5E14
triadic
#525E14 #14525E #5E1452
tetradic
#525E14 #145E45 #20145E #5E142D
square
#525E14 #145E45 #20145E #5E142D
split-complementary
#525E14 #142D5E #45145E
monochromatic
#161905 #262C09 #525E14 #7E901F #AAC329

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525E14#FFFFFF#000000##FFFFFF
##525E141.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)
#655805
Deuteranopia (green-blind)
#63591A
Tritanopia (blue-blind)
#575850
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #525e14;
/* rgb */ color: rgb(82, 94, 20);
/* oklch */ color: oklch(45.7% 0.096 118.5);
Tailwind
colors: {
  custom: {
    50: '#858b58',
    500: '#525e14',
    950: '#000000',
  },
}
SCSS
$custom: #525e14;
$custom-light: #858b58;
$custom-dark: #000000;
JSON
{
  "hex": "#525e14",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 20
  },
  "hsl": {
    "h": 69.73,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45655,
    "c": 0.09632,
    "h": 118.5
  },
  "luminance": 0.0985
}

Semantic roles & 50–950 ramp

primary
#525E14
secondary
#473896
accent
#40E85B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #525E14

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

Preview Lab → · Contrast checker → · Palette generator →

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