#253F12#253F12

#253F12 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.5% C 0.077 H 134.3°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#253F12
RGBrgb(37, 63, 18)
HSLhsl(95, 56%, 16%)
HSVhsv(95, 71%, 25%)
CMYKcmyk(41.3%, 0%, 71.4%, 75.3%)
CIE-LABlab(23.64, -19.28, 23.81)
CIE-LCHlch(23.64, 30.63, 129.00°)
OKLaboklab(33.52% -0.0537 0.0551)
OKLCHoklch(33.52% 0.077 134.3)
XYZxyz(2.6496, 3.9919, 1.2031)
Luminance0.0399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F12 #2C123F
analogous
#3B3F12 #253F12 #123F15
triadic
#253F12 #12253F #3F1225
tetradic
#253F12 #123B3F #2C123F #3F1512
square
#253F12 #123B3F #2C123F #3F1512
split-complementary
#253F12 #15123F #3F123B
monochromatic
#0E1807 #0E1807 #253F12 #416F20 #5D9E2D

Accessibility & contrast

On white

11.68
#253F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#253F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F12
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F12#FFFFFF#000000##FFFFFF
##253F121.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0D
Deuteranopia (green-blind)
#3E3816
Tritanopia (blue-blind)
#253C36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #253f12;
/* rgb */ color: rgb(37, 63, 18);
/* oklch */ color: oklch(33.5% 0.077 134.3);
Tailwind
colors: {
  custom: {
    50: '#627452',
    500: '#253f12',
    950: '#000000',
  },
}
SCSS
$custom: #253f12;
$custom-light: #627452;
$custom-dark: #000000;
JSON
{
  "hex": "#253f12",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 18
  },
  "hsl": {
    "h": 94.667,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33524,
    "c": 0.0769,
    "h": 134.3
  },
  "luminance": 0.03992
}

Semantic roles & 50–950 ramp

primary
#253F12
secondary
#5C3578
accent
#49DFA0
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #253F12

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

Preview Lab → · Contrast checker → · Palette generator →

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