#253A05#253A05

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

Color values

HEX#253A05
RGBrgb(37, 58, 5)
HSLhsl(84, 84%, 12%)
HSVhsv(84, 91%, 23%)
CMYKcmyk(36.2%, 0%, 91.4%, 77.3%)
CIE-LABlab(21.69, -17.77, 27.61)
CIE-LCHlch(21.69, 32.83, 122.76°)
OKLaboklab(31.9% -0.0509 0.0616)
OKLCHoklch(31.9% 0.08 129.5)
XYZxyz(2.3034, 3.4303, 0.6843)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A05 #1A053A
analogous
#3A3505 #253A05 #0A3A05
triadic
#253A05 #05253A #3A0525
tetradic
#253A05 #053A35 #1A053A #3A050A
square
#253A05 #053A35 #1A053A #3A050A
split-complementary
#253A05 #050A3A #35053A
monochromatic
#121C02 #121C02 #253A05 #49720A #6DAB0F

Accessibility & contrast

On white

12.46
#253A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253A05
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A05#FFFFFF#000000##FFFFFF
##253A051.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253a05;
/* rgb */ color: rgb(37, 58, 5);
/* oklch */ color: oklch(31.9% 0.080 129.5);
Tailwind
colors: {
  custom: {
    50: '#62704a',
    500: '#253a05',
    950: '#000000',
  },
}
SCSS
$custom: #253a05;
$custom-light: #62704a;
$custom-dark: #000000;
JSON
{
  "hex": "#253a05",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 5
  },
  "hsl": {
    "h": 83.774,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31895,
    "c": 0.07991,
    "h": 129.5
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#253A05
secondary
#44207B
accent
#2DFA7F
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #253A05

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

Preview Lab → · Contrast checker → · Palette generator →

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