#157833#157833

#157833 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.136 H 148.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#157833
RGBrgb(21, 120, 51)
HSLhsl(138, 70%, 28%)
HSVhsv(138, 83%, 47%)
CMYKcmyk(82.5%, 0%, 57.5%, 52.9%)
CIE-LABlab(43.99, -42.95, 29.95)
CIE-LCHlch(43.99, 52.36, 145.11°)
OKLaboklab(50.28% -0.1154 0.0716)
OKLCHoklch(50.28% 0.136 148.2)
XYZxyz(7.6227, 13.8305, 5.3991)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157833 #78155A
analogous
#287815 #157833 #157865
triadic
#157833 #331578 #783315
tetradic
#157833 #152878 #78155A #786515
square
#157833 #152878 #78155A #786515
split-complementary
#157833 #651578 #781528
monochromatic
#051A0B #0C441D #157833 #1EAC49 #2DDA62

Accessibility & contrast

On white

5.58
#157833 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#157833 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157833
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157833#FFFFFF#000000##FFFFFF
##1578331.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D2D
Deuteranopia (green-blind)
#6E6538
Tritanopia (blue-blind)
#007569
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #157833;
/* rgb */ color: rgb(21, 120, 51);
/* oklch */ color: oklch(50.3% 0.136 148.2);
Tailwind
colors: {
  custom: {
    50: '#66a06d',
    500: '#157833',
    950: '#000000',
  },
}
SCSS
$custom: #157833;
$custom-light: #66a06d;
$custom-dark: #000000;
JSON
{
  "hex": "#157833",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 51
  },
  "hsl": {
    "h": 138.182,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50283,
    "c": 0.13581,
    "h": 148.2
  },
  "luminance": 0.13831
}

Semantic roles & 50–950 ramp

primary
#157833
secondary
#AE3B8B
accent
#3BB7ED
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #157833

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

Preview Lab → · Contrast checker → · Palette generator →

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