#25310B#25310B

#25310B is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.3% C 0.061 H 125.0°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#25310B
RGBrgb(37, 49, 11)
HSLhsl(79, 63%, 12%)
HSVhsv(79, 78%, 19%)
CMYKcmyk(24.5%, 0%, 77.6%, 80.8%)
CIE-LABlab(18.43, -12.18, 21.47)
CIE-LCHlch(18.43, 24.69, 119.56°)
OKLaboklab(29.26% -0.0349 0.0498)
OKLCHoklch(29.26% 0.061 125)
XYZxyz(1.9217, 2.6141, 0.7199)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25310B #170B31
analogous
#312A0B #25310B #12310B
triadic
#25310B #0B2531 #310B25
tetradic
#25310B #0B312A #170B31 #310B12
square
#25310B #0B312A #170B31 #310B12
split-complementary
#25310B #0B1231 #2A0B31
monochromatic
#131906 #131906 #25310B #4B6316 #709521

Accessibility & contrast

On white

13.79
#25310B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#25310B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25310B
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25310B#FFFFFF#000000##FFFFFF
##25310B1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D06
Deuteranopia (green-blind)
#322D0E
Tritanopia (blue-blind)
#272E29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #25310b;
/* rgb */ color: rgb(37, 49, 11);
/* oklch */ color: oklch(29.3% 0.061 125.0);
Tailwind
colors: {
  custom: {
    50: '#61694c',
    500: '#25310b',
    950: '#000000',
  },
}
SCSS
$custom: #25310b;
$custom-light: #61694c;
$custom-dark: #000000;
JSON
{
  "hex": "#25310b",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 78.947,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29262,
    "c": 0.06082,
    "h": 125
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#25310B
secondary
#402A6E
accent
#41E676
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #25310B

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

Preview Lab → · Contrast checker → · Palette generator →

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