#252F07#252F07

#252F07 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.6% C 0.061 H 122.6°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#252F07
RGBrgb(37, 47, 7)
HSLhsl(75, 74%, 11%)
HSVhsv(75, 85%, 18%)
CMYKcmyk(21.3%, 0%, 85.1%, 81.6%)
CIE-LABlab(17.65, -11.34, 22.19)
CIE-LCHlch(17.65, 24.92, 117.07°)
OKLaboklab(28.62% -0.0331 0.0518)
OKLCHoklch(28.62% 0.061 122.6)
XYZxyz(1.8178, 2.4417, 0.5765)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F07 #11072F
analogous
#2F2507 #252F07 #112F07
triadic
#252F07 #07252F #2F0725
tetradic
#252F07 #072F25 #11072F #2F0711
square
#252F07 #072F25 #11072F #2F0711
split-complementary
#252F07 #07112F #25072F
monochromatic
#151B04 #151B04 #252F07 #4F640F #799A17

Accessibility & contrast

On white

14.11
#252F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252F07
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F07#FFFFFF#000000##FFFFFF
##252F071.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C03
Deuteranopia (green-blind)
#312B0A
Tritanopia (blue-blind)
#272C27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #252f07;
/* rgb */ color: rgb(37, 47, 7);
/* oklch */ color: oklch(28.6% 0.061 122.6);
Tailwind
colors: {
  custom: {
    50: '#61674a',
    500: '#252f07',
    950: '#000000',
  },
}
SCSS
$custom: #252f07;
$custom-light: #61674a;
$custom-dark: #000000;
JSON
{
  "hex": "#252f07",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 75,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28624,
    "c": 0.06149,
    "h": 122.6
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#252F07
secondary
#36236F
accent
#37F165
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #252F07

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

Preview Lab → · Contrast checker → · Palette generator →

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