#253102#253102

#253102 is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.2% C 0.070 H 123.4°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#253102
RGBrgb(37, 49, 2)
HSLhsl(75, 92%, 10%)
HSVhsv(75, 96%, 19%)
CMYKcmyk(24.5%, 0%, 95.9%, 80.8%)
CIE-LABlab(18.34, -12.98, 25.05)
CIE-LCHlch(18.34, 28.21, 117.40°)
OKLaboklab(29.16% -0.0383 0.058)
OKLCHoklch(29.16% 0.07 123.4)
XYZxyz(1.8722, 2.5943, 0.4595)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253102 #0E0231
analogous
#312502 #253102 #0E3102
triadic
#253102 #022531 #310225
tetradic
#253102 #023125 #0E0231 #31020E
square
#253102 #023125 #0E0231 #31020E
split-complementary
#253102 #020E31 #250231
monochromatic
#161D01 #161D01 #253102 #516C04 #7EA707

Accessibility & contrast

On white

13.83
#253102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#253102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253102
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253102#FFFFFF#000000##FFFFFF
##2531021.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D00
Deuteranopia (green-blind)
#332D06
Tritanopia (blue-blind)
#282E28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #253102;
/* rgb */ color: rgb(37, 49, 2);
/* oklch */ color: oklch(29.2% 0.070 123.4);
Tailwind
colors: {
  custom: {
    50: '#616948',
    500: '#253102',
    950: '#000000',
  },
}
SCSS
$custom: #253102;
$custom-light: #616948;
$custom-dark: #000000;
JSON
{
  "hex": "#253102",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 75.319,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.29164,
    "c": 0.06953,
    "h": 123.4
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#253102
secondary
#311975
accent
#29FF5F
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #253102

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

Preview Lab → · Contrast checker → · Palette generator →

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