#25331F#25331F

#25331F is a dark, muted green. Relative luminance 0.029; OKLCH L 30.2% C 0.040 H 136.6°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#25331F
RGBrgb(37, 51, 31)
HSLhsl(102, 24%, 16%)
HSVhsv(102, 39%, 20%)
CMYKcmyk(27.5%, 0%, 39.2%, 80%)
CIE-LABlab(19.47, -10.54, 10.86)
CIE-LCHlch(19.47, 15.13, 134.14°)
OKLaboklab(30.21% -0.0287 0.0272)
OKLCHoklch(30.21% 0.04 136.6)
XYZxyz(2.1940, 2.8598, 1.7325)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25331F #2D1F33
analogous
#2F331F #25331F #1F3323
triadic
#25331F #1F2533 #331F25
tetradic
#25331F #1F2F33 #2D1F33 #33231F
square
#25331F #1F2F33 #2D1F33 #33231F
split-complementary
#25331F #231F33 #331F2F
monochromatic
#0E130C #0E130C #25331F #415936 #5C7F4D

Accessibility & contrast

On white

13.36
#25331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#25331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25331F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25331F#FFFFFF#000000##FFFFFF
##25331F1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34301E
Deuteranopia (green-blind)
#322F20
Tritanopia (blue-blind)
#25322E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25331f;
/* rgb */ color: rgb(37, 51, 31);
/* oklch */ color: oklch(30.2% 0.040 136.6);
Tailwind
colors: {
  custom: {
    50: '#606a5a',
    500: '#25331f',
    950: '#000000',
  },
}
SCSS
$custom: #25331f;
$custom-light: #606a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#25331f",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 102,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3021,
    "c": 0.03952,
    "h": 136.6
  },
  "luminance": 0.0286
}

Semantic roles & 50–950 ramp

primary
#25331F
secondary
#5D4866
accent
#67C1A6
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040604
muted
#797A79

Preview Lab

Preview with #25331F

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

Preview Lab → · Contrast checker → · Palette generator →

#25331F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva