#25812A#25812A

#25812A is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.150 H 143.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#25812A
RGBrgb(37, 129, 42)
HSLhsl(123, 55%, 33%)
HSVhsv(123, 71%, 51%)
CMYKcmyk(71.3%, 0%, 67.4%, 49.4%)
CIE-LABlab(47.31, -44.75, 38.25)
CIE-LCHlch(47.31, 58.87, 139.48°)
OKLaboklab(53.1% -0.1212 0.0886)
OKLCHoklch(53.1% 0.15 143.8)
XYZxyz(9.0306, 16.2600, 4.8526)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25812A #81257C
analogous
#4E8125 #25812A #258158
triadic
#25812A #2A2581 #812A25
tetradic
#25812A #254E81 #81257C #815825
square
#25812A #254E81 #81257C #815825
split-complementary
#25812A #582581 #81254E
monochromatic
#0A220B #17511B #25812A #33B139 #53CE59

Accessibility & contrast

On white

4.94
#25812A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#25812A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25812A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25812A#FFFFFF#000000##FFFFFF
##25812A1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751F
Deuteranopia (green-blind)
#796D32
Tritanopia (blue-blind)
#077D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #25812a;
/* rgb */ color: rgb(37, 129, 42);
/* oklch */ color: oklch(53.1% 0.150 143.8);
Tailwind
colors: {
  custom: {
    50: '#6ea668',
    500: '#25812a',
    950: '#000000',
  },
}
SCSS
$custom: #25812a;
$custom-light: #6ea668;
$custom-dark: #000000;
JSON
{
  "hex": "#25812a",
  "rgb": {
    "r": 37,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 123.261,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.531,
    "c": 0.15019,
    "h": 143.8
  },
  "luminance": 0.16261
}

Semantic roles & 50–950 ramp

primary
#25812A
secondary
#B250AD
accent
#49D7DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #25812A

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

Preview Lab → · Contrast checker → · Palette generator →

#25812A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva