#253902#253902

#253902 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.6% C 0.081 H 128.5°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#253902
RGBrgb(37, 57, 2)
HSLhsl(82, 93%, 12%)
HSVhsv(82, 96%, 22%)
CMYKcmyk(35.1%, 0%, 96.5%, 77.6%)
CIE-LABlab(21.30, -17.47, 28.41)
CIE-LCHlch(21.30, 33.35, 121.60°)
OKLaboklab(31.57% -0.0504 0.0634)
OKLCHoklch(31.57% 0.081 128.5)
XYZxyz(2.2370, 3.3239, 0.5811)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253902 #160239
analogous
#393202 #253902 #0A3902
triadic
#253902 #022539 #390225
tetradic
#253902 #023932 #160239 #39020A
square
#253902 #023932 #160239 #39020A
split-complementary
#253902 #020A39 #320239
monochromatic
#131E01 #131E01 #253902 #4B7404 #72AF06

Accessibility & contrast

On white

12.61
#253902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#253902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253902
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253902#FFFFFF#000000##FFFFFF
##2539021.0012.611.6612.61
#FFFFFF12.611.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#3A3307
Tritanopia (blue-blind)
#27362F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #253902;
/* rgb */ color: rgb(37, 57, 2);
/* oklch */ color: oklch(31.6% 0.081 128.5);
Tailwind
colors: {
  custom: {
    50: '#626f49',
    500: '#253902',
    950: '#000000',
  },
}
SCSS
$custom: #253902;
$custom-light: #626f49;
$custom-dark: #000000;
JSON
{
  "hex": "#253902",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 2
  },
  "hsl": {
    "h": 81.818,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31566,
    "c": 0.08097,
    "h": 128.5
  },
  "luminance": 0.03324
}

Semantic roles & 50–950 ramp

primary
#253902
secondary
#3E1A7D
accent
#29FF77
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #253902

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

Preview Lab → · Contrast checker → · Palette generator →

#253902 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva