#253A07#253A07

#253A07 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.9% C 0.078 H 129.9°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#253A07
RGBrgb(37, 58, 7)
HSLhsl(85, 78%, 13%)
HSVhsv(85, 88%, 23%)
CMYKcmyk(36.2%, 0%, 87.9%, 77.3%)
CIE-LABlab(21.71, -17.61, 26.81)
CIE-LCHlch(21.71, 32.08, 123.29°)
OKLaboklab(31.91% -0.0502 0.0601)
OKLCHoklch(31.91% 0.078 129.9)
XYZxyz(2.3143, 3.4347, 0.7420)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A07 #1C073A
analogous
#3A3507 #253A07 #0B3A07
triadic
#253A07 #07253A #3A0725
tetradic
#253A07 #073A35 #1C073A #3A070B
square
#253A07 #073A35 #1C073A #3A070B
split-complementary
#253A07 #070B3A #35073A
monochromatic
#111B03 #111B03 #253A07 #48710E #6BA714

Accessibility & contrast

On white

12.45
#253A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#253A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A07
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A07#FFFFFF#000000##FFFFFF
##253A071.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3A340C
Tritanopia (blue-blind)
#263730
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #253a07;
/* rgb */ color: rgb(37, 58, 7);
/* oklch */ color: oklch(31.9% 0.078 129.9);
Tailwind
colors: {
  custom: {
    50: '#62704b',
    500: '#253a07',
    950: '#000000',
  },
}
SCSS
$custom: #253a07;
$custom-light: #62704b;
$custom-dark: #000000;
JSON
{
  "hex": "#253a07",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 84.706,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31913,
    "c": 0.07829,
    "h": 129.9
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#253A07
secondary
#472379
accent
#33F583
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #253A07

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

Preview Lab → · Contrast checker → · Palette generator →

#253A07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva