#25520B#25520B

#25520B is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.1% C 0.110 H 137.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#25520B
RGBrgb(37, 82, 11)
HSLhsl(98, 76%, 18%)
HSVhsv(98, 87%, 32%)
CMYKcmyk(54.9%, 0%, 86.6%, 67.8%)
CIE-LABlab(30.52, -28.96, 33.82)
CIE-LCHlch(30.52, 44.52, 130.58°)
OKLaboklab(39.15% -0.0805 0.0749)
OKLCHoklch(39.15% 0.11 137)
XYZxyz(3.8405, 6.4518, 1.3595)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25520B #380B52
analogous
#48520B #25520B #0B5214
triadic
#25520B #0B2552 #520B25
tetradic
#25520B #0B4852 #380B52 #52140B
square
#25520B #0B4852 #380B52 #52140B
split-complementary
#25520B #140B52 #520B48
monochromatic
#0C1B04 #0D1C04 #25520B #3D8812 #56BE19

Accessibility & contrast

On white

9.17
#25520B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25520B
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25520B#FFFFFF#000000##FFFFFF
##25520B1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25520b;
/* rgb */ color: rgb(37, 82, 11);
/* oklch */ color: oklch(39.1% 0.110 137.0);
Tailwind
colors: {
  custom: {
    50: '#658351',
    500: '#25520b',
    950: '#000000',
  },
}
SCSS
$custom: #25520b;
$custom-light: #658351;
$custom-dark: #000000;
JSON
{
  "hex": "#25520b",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 11
  },
  "hsl": {
    "h": 98.028,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39147,
    "c": 0.10996,
    "h": 137
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#25520B
secondary
#6A2B8E
accent
#35F3AD
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #25520B

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

Preview Lab → · Contrast checker → · Palette generator →

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