#25331B#25331B

#25331B is a dark, muted yellow-green. Relative luminance 0.028; OKLCH L 30.1% C 0.045 H 133.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#25331B
RGBrgb(37, 51, 27)
HSLhsl(95, 31%, 15%)
HSVhsv(95, 47%, 20%)
CMYKcmyk(27.5%, 0%, 47.1%, 80%)
CIE-LABlab(19.39, -11.26, 13.38)
CIE-LCHlch(19.39, 17.49, 130.09°)
OKLaboklab(30.12% -0.0309 0.0329)
OKLCHoklch(30.12% 0.045 133.2)
XYZxyz(2.1446, 2.8400, 1.4719)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25331B #291B33
analogous
#31331B #25331B #1B331D
triadic
#25331B #1B2533 #331B25
tetradic
#25331B #1B3133 #291B33 #331D1B
square
#25331B #1B3133 #291B33 #331D1B
split-complementary
#25331B #1D1B33 #331B31
monochromatic
#0F140B #0F140B #25331B #425B30 #5F8345

Accessibility & contrast

On white

13.39
#25331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25331B
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25331B#FFFFFF#000000##FFFFFF
##25331B1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353019
Deuteranopia (green-blind)
#332F1C
Tritanopia (blue-blind)
#25312D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25331b;
/* rgb */ color: rgb(37, 51, 27);
/* oklch */ color: oklch(30.1% 0.045 133.2);
Tailwind
colors: {
  custom: {
    50: '#606a57',
    500: '#25331b',
    950: '#000000',
  },
}
SCSS
$custom: #25331b;
$custom-light: #606a57;
$custom-dark: #000000;
JSON
{
  "hex": "#25331b",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 95,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.30117,
    "c": 0.04512,
    "h": 133.2
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

primary
#25331B
secondary
#584367
accent
#61C79C
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #25331B

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

Preview Lab → · Contrast checker → · Palette generator →

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