#252B07#252B07

#252B07 is a dark, muted yellow-green. Relative luminance 0.021; OKLCH L 27.4% C 0.055 H 118.3°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#252B07
RGBrgb(37, 43, 7)
HSLhsl(70, 72%, 10%)
HSVhsv(70, 84%, 17%)
CMYKcmyk(14%, 0%, 83.7%, 83.1%)
CIE-LABlab(16.19, -8.88, 20.39)
CIE-LCHlch(16.19, 22.24, 113.53°)
OKLaboklab(27.44% -0.0263 0.0487)
OKLCHoklch(27.44% 0.055 118.3)
XYZxyz(1.6652, 2.1364, 0.5256)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B07 #0D072B
analogous
#2B1F07 #252B07 #132B07
triadic
#252B07 #07252B #2B0725
tetradic
#252B07 #072B1F #0D072B #2B0713
square
#252B07 #072B1F #0D072B #2B0713
split-complementary
#252B07 #07132B #1F072B
monochromatic
#171A04 #171A04 #252B07 #526010 #809418

Accessibility & contrast

On white

14.71
#252B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#252B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B07
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B07#FFFFFF#000000##FFFFFF
##252B071.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2803
Deuteranopia (green-blind)
#2E2809
Tritanopia (blue-blind)
#282824
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #252b07;
/* rgb */ color: rgb(37, 43, 7);
/* oklch */ color: oklch(27.4% 0.055 118.3);
Tailwind
colors: {
  custom: {
    50: '#60644a',
    500: '#252b07',
    950: '#000000',
  },
}
SCSS
$custom: #252b07;
$custom-light: #60644a;
$custom-dark: #000000;
JSON
{
  "hex": "#252b07",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 70,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27443,
    "c": 0.05537,
    "h": 118.3
  },
  "luminance": 0.02136
}

Semantic roles & 50–950 ramp

primary
#252B07
secondary
#2F236B
accent
#39EF57
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #252B07

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

Preview Lab → · Contrast checker → · Palette generator →

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