#25310F#25310F

#25310F is a dark, muted yellow-green. Relative luminance 0.026; OKLCH L 29.3% C 0.057 H 126.0°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#25310F
RGBrgb(37, 49, 15)
HSLhsl(81, 53%, 13%)
HSVhsv(81, 69%, 19%)
CMYKcmyk(24.5%, 0%, 69.4%, 80.8%)
CIE-LABlab(18.47, -11.77, 19.61)
CIE-LCHlch(18.47, 22.87, 120.97°)
OKLaboklab(29.31% -0.0333 0.0459)
OKLCHoklch(29.31% 0.057 126)
XYZxyz(1.9475, 2.6244, 0.8558)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25310F #1B0F31
analogous
#312C0F #25310F #14310F
triadic
#25310F #0F2531 #310F25
tetradic
#25310F #0F312C #1B0F31 #310F14
square
#25310F #0F312C #1B0F31 #310F14
split-complementary
#25310F #0F1431 #2C0F31
monochromatic
#121707 #121707 #25310F #48601D #6C8F2C

Accessibility & contrast

On white

13.77
#25310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25310F
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25310F#FFFFFF#000000##FFFFFF
##25310F1.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D0B
Deuteranopia (green-blind)
#322D11
Tritanopia (blue-blind)
#272E2A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #25310f;
/* rgb */ color: rgb(37, 49, 15);
/* oklch */ color: oklch(29.3% 0.057 126.0);
Tailwind
colors: {
  custom: {
    50: '#60694f',
    500: '#25310f',
    950: '#000000',
  },
}
SCSS
$custom: #25310f;
$custom-light: #60694f;
$custom-dark: #000000;
JSON
{
  "hex": "#25310f",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 81.176,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29313,
    "c": 0.05667,
    "h": 126
  },
  "luminance": 0.02624
}

Semantic roles & 50–950 ramp

primary
#25310F
secondary
#45316B
accent
#4BDD7F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050602
muted
#797A78

Preview Lab

Preview with #25310F

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

Preview Lab → · Contrast checker → · Palette generator →

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