#257223#257223

#257223 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.136 H 142.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#257223
RGBrgb(37, 114, 35)
HSLhsl(118, 53%, 29%)
HSVhsv(118, 69%, 45%)
CMYKcmyk(67.5%, 0%, 69.3%, 55.3%)
CIE-LABlab(42.08, -39.91, 35.71)
CIE-LCHlch(42.08, 53.56, 138.18°)
OKLaboklab(48.74% -0.1085 0.0824)
OKLCHoklch(48.74% 0.136 142.8)
XYZxyz(7.0832, 12.5486, 3.6386)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257223 #702372
analogous
#4D7223 #257223 #237249
triadic
#257223 #232572 #722325
tetradic
#257223 #234D72 #702372 #724923
square
#257223 #234D72 #702372 #724923
split-complementary
#257223 #492372 #72234D
monochromatic
#081707 #164315 #257223 #34A131 #4CC748

Accessibility & contrast

On white

5.98
#257223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#257223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257223
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257223#FFFFFF#000000##FFFFFF
##2572231.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756719
Deuteranopia (green-blind)
#6B612A
Tritanopia (blue-blind)
#156F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #257223;
/* rgb */ color: rgb(37, 114, 35);
/* oklch */ color: oklch(48.7% 0.136 142.8);
Tailwind
colors: {
  custom: {
    50: '#6b9b62',
    500: '#257223',
    950: '#000000',
  },
}
SCSS
$custom: #257223;
$custom-light: #6b9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#257223",
  "rgb": {
    "r": 37,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 118.481,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.48742,
    "c": 0.13626,
    "h": 142.8
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#257223
secondary
#A34CA5
accent
#4BDCD9
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #257223

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

Preview Lab → · Contrast checker → · Palette generator →

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