#488E23#488E23

#488E23 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.156 H 137.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#488E23
RGBrgb(72, 142, 35)
HSLhsl(99, 60%, 35%)
HSVhsv(99, 75%, 56%)
CMYKcmyk(49.3%, 0%, 75.4%, 44.3%)
CIE-LABlab(52.78, -41.19, 47.22)
CIE-LCHlch(52.78, 62.66, 131.10°)
OKLaboklab(57.92% -0.1142 0.1062)
OKLCHoklch(57.92% 0.156 137.1)
XYZxyz(12.6485, 20.8442, 4.9466)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488E23 #69238E
analogous
#7E8E23 #488E23 #238E33
triadic
#488E23 #23488E #8E2348
tetradic
#488E23 #237E8E #69238E #8E3323
square
#488E23 #237E8E #69238E #8E3323
split-complementary
#488E23 #33238E #8E237E
monochromatic
#162C0B #2F5D17 #488E23 #61BF2F #82D556

Accessibility & contrast

On white

4.06
#488E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#488E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488E23
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488E23#FFFFFF#000000##000000
##488E231.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820E
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#448979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #488e23;
/* rgb */ color: rgb(72, 142, 35);
/* oklch */ color: oklch(57.9% 0.156 137.1);
Tailwind
colors: {
  custom: {
    50: '#82b066',
    500: '#488e23',
    950: '#000000',
  },
}
SCSS
$custom: #488e23;
$custom-light: #82b066;
$custom-dark: #000000;
JSON
{
  "hex": "#488e23",
  "rgb": {
    "r": 72,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 99.252,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5792,
    "c": 0.15597,
    "h": 137.1
  },
  "luminance": 0.20845
}

Semantic roles & 50–950 ramp

primary
#488E23
secondary
#9653B9
accent
#44E4AC
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488E23

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

Preview Lab → · Contrast checker → · Palette generator →

#488E23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva