#25520D#25520D

#25520D is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.2% C 0.109 H 137.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#25520D
RGBrgb(37, 82, 13)
HSLhsl(99, 73%, 19%)
HSVhsv(99, 84%, 32%)
CMYKcmyk(54.9%, 0%, 84.1%, 67.8%)
CIE-LABlab(30.54, -28.83, 33.12)
CIE-LCHlch(30.54, 43.91, 131.04°)
OKLaboklab(39.16% -0.08 0.0738)
OKLCHoklch(39.16% 0.109 137.3)
XYZxyz(3.8528, 6.4567, 1.4239)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25520D #3A0D52
analogous
#47520D #25520D #0D5217
triadic
#25520D #0D2552 #520D25
tetradic
#25520D #0D4752 #3A0D52 #52170D
square
#25520D #0D4752 #3A0D52 #52170D
split-complementary
#25520D #170D52 #520D47
monochromatic
#0C1A04 #0D1D05 #25520D #3D8715 #55BC1E

Accessibility & contrast

On white

9.16
#25520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#25520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25520D
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25520D#FFFFFF#000000##FFFFFF
##25520D1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#4F4615
Tritanopia (blue-blind)
#224F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25520d;
/* rgb */ color: rgb(37, 82, 13);
/* oklch */ color: oklch(39.2% 0.109 137.3);
Tailwind
colors: {
  custom: {
    50: '#658352',
    500: '#25520d',
    950: '#000000',
  },
}
SCSS
$custom: #25520d;
$custom-light: #658352;
$custom-dark: #000000;
JSON
{
  "hex": "#25520d",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 99.13,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39161,
    "c": 0.10883,
    "h": 137.3
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#25520D
secondary
#6C2E8D
accent
#38EFB0
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #25520D

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

Preview Lab → · Contrast checker → · Palette generator →

#25520D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva