#488B1F#488B1F

#488B1F is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.155 H 136.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#488B1F
RGBrgb(72, 139, 31)
HSLhsl(97, 64%, 33%)
HSVhsv(97, 78%, 55%)
CMYKcmyk(48.2%, 0%, 77.7%, 45.5%)
CIE-LABlab(51.77, -40.23, 47.67)
CIE-LCHlch(51.77, 62.38, 130.16°)
OKLaboklab(57.08% -0.1119 0.1065)
OKLCHoklch(57.08% 0.155 136.4)
XYZxyz(12.1521, 19.9411, 4.5047)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488B1F #621F8B
analogous
#7E8B1F #488B1F #1F8B2C
triadic
#488B1F #1F488B #8B1F48
tetradic
#488B1F #1F7E8B #621F8B #8B2C1F
square
#488B1F #1F7E8B #621F8B #8B2C1F
split-complementary
#488B1F #2C1F8B #8B1F7E
monochromatic
#142709 #2E5914 #488B1F #62BD2A #82D74D

Accessibility & contrast

On white

4.21
#488B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#488B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488B1F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488B1F#FFFFFF#000000##000000
##488B1F1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#458677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #488b1f;
/* rgb */ color: rgb(72, 139, 31);
/* oklch */ color: oklch(57.1% 0.155 136.4);
Tailwind
colors: {
  custom: {
    50: '#82ad63',
    500: '#488b1f',
    950: '#000000',
  },
}
SCSS
$custom: #488b1f;
$custom-light: #82ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#488b1f",
  "rgb": {
    "r": 72,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 97.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57083,
    "c": 0.15452,
    "h": 136.4
  },
  "luminance": 0.19942
}

Semantic roles & 50–950 ramp

primary
#488B1F
secondary
#904CBA
accent
#41E7A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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