#253F0C#253F0C

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

Color values

HEX#253F0C
RGBrgb(37, 63, 12)
HSLhsl(91, 68%, 15%)
HSVhsv(91, 81%, 25%)
CMYKcmyk(41.3%, 0%, 81%, 75.3%)
CIE-LABlab(23.59, -19.85, 26.69)
CIE-LCHlch(23.59, 33.26, 126.65°)
OKLaboklab(33.46% -0.0558 0.0602)
OKLCHoklch(33.46% 0.082 132.8)
XYZxyz(2.6068, 3.9748, 0.9776)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F0C #260C3F
analogous
#3F3F0C #253F0C #0C3F0C
triadic
#253F0C #0C253F #3F0C25
tetradic
#253F0C #0C3F3F #260C3F #3F0C0C
square
#253F0C #0C3F3F #260C3F #3F0C0C
split-complementary
#253F0C #0C0C3F #3F0C3F
monochromatic
#0F1A05 #0F1A05 #253F0C #437216 #61A620

Accessibility & contrast

On white

11.70
#253F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253F0C
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F0C#FFFFFF#000000##FFFFFF
##253F0C1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423905
Deuteranopia (green-blind)
#3E3711
Tritanopia (blue-blind)
#253C35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #253f0c;
/* rgb */ color: rgb(37, 63, 12);
/* oklch */ color: oklch(33.5% 0.082 132.8);
Tailwind
colors: {
  custom: {
    50: '#62744e',
    500: '#253f0c',
    950: '#000000',
  },
}
SCSS
$custom: #253f0c;
$custom-light: #62744e;
$custom-dark: #000000;
JSON
{
  "hex": "#253f0c",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 12
  },
  "hsl": {
    "h": 90.588,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33459,
    "c": 0.08208,
    "h": 132.8
  },
  "luminance": 0.03975
}

Semantic roles & 50–950 ramp

primary
#253F0C
secondary
#542C7B
accent
#3DEB96
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #253F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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