#488B26#488B26

#488B26 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.1% C 0.150 H 137.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#488B26
RGBrgb(72, 139, 38)
HSLhsl(100, 57%, 35%)
HSVhsv(100, 73%, 55%)
CMYKcmyk(48.2%, 0%, 72.7%, 45.5%)
CIE-LABlab(51.82, -39.72, 45.09)
CIE-LCHlch(51.82, 60.09, 131.37°)
OKLaboklab(57.14% -0.1101 0.1022)
OKLCHoklch(57.14% 0.15 137.1)
XYZxyz(12.2546, 19.9821, 5.0445)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488B26 #69268B
analogous
#7B8B26 #488B26 #268B37
triadic
#488B26 #26488B #8B2648
tetradic
#488B26 #267B8B #69268B #8B3726
square
#488B26 #267B8B #69268B #8B3726
split-complementary
#488B26 #37268B #8B267B
monochromatic
#162B0C #2F5B19 #488B26 #61BB33 #82D25A

Accessibility & contrast

On white

4.20
#488B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#488B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488B26
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488B26#FFFFFF#000000##000000
##488B261.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F15
Deuteranopia (green-blind)
#877930
Tritanopia (blue-blind)
#448677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488b26;
/* rgb */ color: rgb(72, 139, 38);
/* oklch */ color: oklch(57.1% 0.150 137.1);
Tailwind
colors: {
  custom: {
    50: '#81ad67',
    500: '#488b26',
    950: '#000000',
  },
}
SCSS
$custom: #488b26;
$custom-light: #81ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#488b26",
  "rgb": {
    "r": 72,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 99.802,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57136,
    "c": 0.15019,
    "h": 137.1
  },
  "luminance": 0.19983
}

Semantic roles & 50–950 ramp

primary
#488B26
secondary
#9656B7
accent
#47E0AD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488B26

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

Preview Lab → · Contrast checker → · Palette generator →

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