#238528#238528

#238528 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.157 H 143.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#238528
RGBrgb(35, 133, 40)
HSLhsl(123, 58%, 33%)
HSVhsv(123, 74%, 52%)
CMYKcmyk(73.7%, 0%, 69.9%, 47.8%)
CIE-LABlab(48.62, -46.78, 40.54)
CIE-LCHlch(48.62, 61.90, 139.09°)
OKLaboklab(54.16% -0.1267 0.0932)
OKLCHoklch(54.16% 0.157 143.7)
XYZxyz(9.4631, 17.2845, 4.8446)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238528 #852380
analogous
#4F8523 #238528 #238559
triadic
#238528 #282385 #852823
tetradic
#238528 #234F85 #852380 #855923
square
#238528 #234F85 #852380 #855923
split-complementary
#238528 #592385 #85234F
monochromatic
#09240B #165519 #238528 #30B537 #51D158

Accessibility & contrast

On white

4.71
#238528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#238528 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238528
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238528#FFFFFF#000000##FFFFFF
##2385281.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88781B
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #238528;
/* rgb */ color: rgb(35, 133, 40);
/* oklch */ color: oklch(54.2% 0.157 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ea967',
    500: '#238528',
    950: '#000000',
  },
}
SCSS
$custom: #238528;
$custom-light: #6ea967;
$custom-dark: #000000;
JSON
{
  "hex": "#238528",
  "rgb": {
    "r": 35,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 123.061,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54161,
    "c": 0.15734,
    "h": 143.7
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#238528
secondary
#B54FB0
accent
#46DAE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #238528

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

Preview Lab → · Contrast checker → · Palette generator →

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