#252E07#252E07

#252E07 is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.3% C 0.060 H 121.6°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#252E07
RGBrgb(37, 46, 7)
HSLhsl(74, 74%, 10%)
HSVhsv(74, 85%, 18%)
CMYKcmyk(19.6%, 0%, 84.8%, 82%)
CIE-LABlab(17.29, -10.73, 21.75)
CIE-LCHlch(17.29, 24.25, 116.27°)
OKLaboklab(28.33% -0.0314 0.0511)
OKLCHoklch(28.33% 0.06 121.6)
XYZxyz(1.7783, 2.3626, 0.5633)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E07 #10072E
analogous
#2E2307 #252E07 #112E07
triadic
#252E07 #07252E #2E0725
tetradic
#252E07 #072E23 #10072E #2E0711
square
#252E07 #072E23 #10072E #2E0711
split-complementary
#252E07 #07112E #23072E
monochromatic
#151B04 #151B04 #252E07 #50630F #7A9817

Accessibility & contrast

On white

14.26
#252E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#252E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E07
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E07#FFFFFF#000000##FFFFFF
##252E071.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B03
Deuteranopia (green-blind)
#302B0A
Tritanopia (blue-blind)
#282B26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #252e07;
/* rgb */ color: rgb(37, 46, 7);
/* oklch */ color: oklch(28.3% 0.060 121.6);
Tailwind
colors: {
  custom: {
    50: '#61664a',
    500: '#252e07',
    950: '#000000',
  },
}
SCSS
$custom: #252e07;
$custom-light: #61664a;
$custom-dark: #000000;
JSON
{
  "hex": "#252e07",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 7
  },
  "hsl": {
    "h": 73.846,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28328,
    "c": 0.05995,
    "h": 121.6
  },
  "luminance": 0.02363
}

Semantic roles & 50–950 ramp

primary
#252E07
secondary
#34236E
accent
#38F062
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #252E07

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

Preview Lab → · Contrast checker → · Palette generator →

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