#253A08#253A08

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

Color values

HEX#253A08
RGBrgb(37, 58, 8)
HSLhsl(85, 76%, 13%)
HSVhsv(85, 86%, 23%)
CMYKcmyk(36.2%, 0%, 86.2%, 77.3%)
CIE-LABlab(21.71, -17.53, 26.41)
CIE-LCHlch(21.71, 31.70, 123.57°)
OKLaboklab(31.92% -0.0499 0.0593)
OKLCHoklch(31.92% 0.078 130.1)
XYZxyz(2.3198, 3.4369, 0.7708)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A08 #1D083A
analogous
#3A3608 #253A08 #0C3A08
triadic
#253A08 #08253A #3A0825
tetradic
#253A08 #083A36 #1D083A #3A080C
square
#253A08 #083A36 #1D083A #3A080C
split-complementary
#253A08 #080C3A #36083A
monochromatic
#111B04 #111B04 #253A08 #47700F #6AA617

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##253A08#FFFFFF#000000##FFFFFF
##253A081.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)
#3D3501
Deuteranopia (green-blind)
#3A340D
Tritanopia (blue-blind)
#263730
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #253a08;
/* rgb */ color: rgb(37, 58, 8);
/* oklch */ color: oklch(31.9% 0.077 130.1);
Tailwind
colors: {
  custom: {
    50: '#62704c',
    500: '#253a08',
    950: '#000000',
  },
}
SCSS
$custom: #253a08;
$custom-light: #62704c;
$custom-dark: #000000;
JSON
{
  "hex": "#253a08",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 85.2,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31922,
    "c": 0.0775,
    "h": 130.1
  },
  "luminance": 0.03437
}

Semantic roles & 50–950 ramp

primary
#253A08
secondary
#482579
accent
#35F285
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #253A08

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

Preview Lab → · Contrast checker → · Palette generator →

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