#238251#238251

#238251 is a mid, moderate green. Relative luminance 0.169; OKLCH L 54.0% C 0.116 H 156.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#238251
RGBrgb(35, 130, 81)
HSLhsl(149, 58%, 32%)
HSVhsv(149, 73%, 51%)
CMYKcmyk(73.1%, 0%, 37.7%, 49%)
CIE-LABlab(48.15, -39.23, 18.86)
CIE-LCHlch(48.15, 43.53, 154.33°)
OKLaboklab(53.96% -0.1061 0.0473)
OKLCHoklch(53.96% 0.116 156)
XYZxyz(10.1600, 16.9155, 10.5126)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238251 #822354
analogous
#248223 #238251 #238281
triadic
#238251 #512382 #825123
tetradic
#238251 #232482 #822354 #828123
square
#238251 #232482 #822354 #828123
split-complementary
#238251 #812382 #822324
monochromatic
#092215 #165233 #238251 #30B26F #50D08E

Accessibility & contrast

On white

4.79
#238251 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#238251 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238251
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238251#FFFFFF#000000##FFFFFF
##2382511.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774E
Deuteranopia (green-blind)
#766F54
Tritanopia (blue-blind)
#008175
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #238251;
/* rgb */ color: rgb(35, 130, 81);
/* oklch */ color: oklch(54.0% 0.116 156.0);
Tailwind
colors: {
  custom: {
    50: '#6ca782',
    500: '#238251',
    950: '#000000',
  },
}
SCSS
$custom: #238251;
$custom-light: #6ca782;
$custom-dark: #000000;
JSON
{
  "hex": "#238251",
  "rgb": {
    "r": 35,
    "g": 130,
    "b": 81
  },
  "hsl": {
    "h": 149.053,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53958,
    "c": 0.11617,
    "h": 156
  },
  "luminance": 0.16917
}

Semantic roles & 50–950 ramp

primary
#238251
secondary
#B34D82
accent
#4796E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #238251

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

Preview Lab → · Contrast checker → · Palette generator →

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