#525E0E#525E0E

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

Color values

HEX#525E0E
RGBrgb(82, 94, 14)
HSLhsl(69, 74%, 21%)
HSVhsv(69, 85%, 37%)
CMYKcmyk(12.8%, 0%, 85.1%, 63.1%)
CIE-LABlab(37.54, -15.72, 40.30)
CIE-LCHlch(37.54, 43.25, 111.31°)
OKLaboklab(45.62% -0.0474 0.0879)
OKLCHoklch(45.62% 0.1 118.3)
XYZxyz(7.5618, 9.8310, 1.9146)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525E0E #1A0E5E
analogous
#5E420E #525E0E #2A5E0E
triadic
#525E0E #0E525E #5E0E52
tetradic
#525E0E #0E5E42 #1A0E5E #5E0E2A
square
#525E0E #0E5E42 #1A0E5E #5E0E2A
split-complementary
#525E0E #0E2A5E #420E5E
monochromatic
#171B04 #242906 #525E0E #809316 #AFC91E

Accessibility & contrast

On white

7.08
#525E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #525E0E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525E0E#FFFFFF#000000##FFFFFF
##525E0E1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#645916
Tritanopia (blue-blind)
#58584F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #525e0e;
/* rgb */ color: rgb(82, 94, 14);
/* oklch */ color: oklch(45.6% 0.100 118.3);
Tailwind
colors: {
  custom: {
    50: '#858b55',
    500: '#525e0e',
    950: '#000000',
  },
}
SCSS
$custom: #525e0e;
$custom-light: #858b55;
$custom-dark: #000000;
JSON
{
  "hex": "#525e0e",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 14
  },
  "hsl": {
    "h": 69,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45617,
    "c": 0.09984,
    "h": 118.3
  },
  "luminance": 0.09831
}

Semantic roles & 50–950 ramp

primary
#525E0E
secondary
#403098
accent
#37F153
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #525E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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