#525E13#525E13

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

Color values

HEX#525E13
RGBrgb(82, 94, 19)
HSLhsl(70, 66%, 22%)
HSVhsv(70, 80%, 37%)
CMYKcmyk(12.8%, 0%, 79.8%, 63.1%)
CIE-LABlab(37.57, -15.48, 38.58)
CIE-LCHlch(37.57, 41.57, 111.86°)
OKLaboklab(45.65% -0.0463 0.0852)
OKLCHoklch(45.65% 0.097 118.5)
XYZxyz(7.6001, 9.8463, 2.1161)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525E13 #1F135E
analogous
#5E4513 #525E13 #2D5E13
triadic
#525E13 #13525E #5E1352
tetradic
#525E13 #135E45 #1F135E #5E132D
square
#525E13 #135E45 #1F135E #5E132D
split-complementary
#525E13 #132D5E #45135E
monochromatic
#161905 #262B09 #525E13 #7E911D #ABC428

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #525e13;
/* rgb */ color: rgb(82, 94, 19);
/* oklch */ color: oklch(45.6% 0.097 118.5);
Tailwind
colors: {
  custom: {
    50: '#858b57',
    500: '#525e13',
    950: '#000000',
  },
}
SCSS
$custom: #525e13;
$custom-light: #858b57;
$custom-dark: #000000;
JSON
{
  "hex": "#525e13",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 19
  },
  "hsl": {
    "h": 69.6,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45648,
    "c": 0.09696,
    "h": 118.5
  },
  "luminance": 0.09846
}

Semantic roles & 50–950 ramp

primary
#525E13
secondary
#463796
accent
#3FE95A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #525E13

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

Preview Lab → · Contrast checker → · Palette generator →

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