#252F0F#252F0F

#252F0F is a dark, muted yellow-green. Relative luminance 0.025; OKLCH L 28.7% C 0.053 H 124.2°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#252F0F
RGBrgb(37, 47, 15)
HSLhsl(79, 52%, 12%)
HSVhsv(79, 68%, 18%)
CMYKcmyk(21.3%, 0%, 68.1%, 81.6%)
CIE-LABlab(17.74, -10.56, 18.74)
CIE-LCHlch(17.74, 21.51, 119.40°)
OKLaboklab(28.72% -0.0299 0.0441)
OKLCHoklch(28.72% 0.053 124.2)
XYZxyz(1.8657, 2.4608, 0.8285)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F0F #190F2F
analogous
#2F290F #252F0F #152F0F
triadic
#252F0F #0F252F #2F0F25
tetradic
#252F0F #0F2F29 #190F2F #2F0F15
square
#252F0F #0F2F29 #190F2F #2F0F15
split-complementary
#252F0F #0F152F #290F2F
monochromatic
#121707 #121707 #252F0F #4A5D1E #6E8C2D

Accessibility & contrast

On white

14.07
#252F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#252F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F0F
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F0F#FFFFFF#000000##FFFFFF
##252F0F1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0C
Deuteranopia (green-blind)
#312B11
Tritanopia (blue-blind)
#272D28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #252f0f;
/* rgb */ color: rgb(37, 47, 15);
/* oklch */ color: oklch(28.7% 0.053 124.2);
Tailwind
colors: {
  custom: {
    50: '#60674e',
    500: '#252f0f',
    950: '#000000',
  },
}
SCSS
$custom: #252f0f;
$custom-light: #60674e;
$custom-dark: #000000;
JSON
{
  "hex": "#252f0f",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 78.75,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28723,
    "c": 0.05327,
    "h": 124.2
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#252F0F
secondary
#423169
accent
#4DDB79
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #252F0F

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

Preview Lab → · Contrast checker → · Palette generator →

#252F0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva