#488F23#488F23

#488F23 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.157 H 137.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#488F23
RGBrgb(72, 143, 35)
HSLhsl(99, 61%, 35%)
HSVhsv(99, 76%, 56%)
CMYKcmyk(49.7%, 0%, 75.5%, 43.9%)
CIE-LABlab(53.11, -41.60, 47.55)
CIE-LCHlch(53.11, 63.17, 131.18°)
OKLaboklab(58.19% -0.1153 0.1069)
OKLCHoklch(58.19% 0.157 137.2)
XYZxyz(12.7979, 21.1431, 4.9964)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488F23 #6A238F
analogous
#7E8F23 #488F23 #238F34
triadic
#488F23 #23488F #8F2348
tetradic
#488F23 #237E8F #6A238F #8F3423
square
#488F23 #237E8F #6A238F #8F3423
split-complementary
#488F23 #34238F #8F237E
monochromatic
#162D0B #2F5E17 #488F23 #61C02F #82D657

Accessibility & contrast

On white

4.02
#488F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#488F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488F23
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488F23#FFFFFF#000000##000000
##488F231.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94820E
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#448A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #488f23;
/* rgb */ color: rgb(72, 143, 35);
/* oklch */ color: oklch(58.2% 0.157 137.2);
Tailwind
colors: {
  custom: {
    50: '#82b066',
    500: '#488f23',
    950: '#000000',
  },
}
SCSS
$custom: #488f23;
$custom-light: #82b066;
$custom-dark: #000000;
JSON
{
  "hex": "#488f23",
  "rgb": {
    "r": 72,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 99.444,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58189,
    "c": 0.15725,
    "h": 137.2
  },
  "luminance": 0.21144
}

Semantic roles & 50–950 ramp

primary
#488F23
secondary
#9754BA
accent
#44E4AD
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488F23

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

Preview Lab → · Contrast checker → · Palette generator →

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