#488E1F#488E1F

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

Color values

HEX#488E1F
RGBrgb(72, 142, 31)
HSLhsl(98, 64%, 34%)
HSVhsv(98, 78%, 56%)
CMYKcmyk(49.3%, 0%, 78.2%, 44.3%)
CIE-LABlab(52.75, -41.46, 48.63)
CIE-LCHlch(52.75, 63.90, 130.45°)
OKLaboklab(57.89% -0.1152 0.1085)
OKLCHoklch(57.89% 0.158 136.7)
XYZxyz(12.5924, 20.8218, 4.6515)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488E1F #651F8E
analogous
#808E1F #488E1F #1F8E2E
triadic
#488E1F #1F488E #8E1F48
tetradic
#488E1F #1F808E #651F8E #8E2E1F
square
#488E1F #1F808E #651F8E #8E2E1F
split-complementary
#488E1F #2E1F8E #8E1F80
monochromatic
#152A09 #2F5C14 #488E1F #61C02A #82D94F

Accessibility & contrast

On white

4.07
#488E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#488E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488E1F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488E1F#FFFFFF#000000##000000
##488E1F1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938204
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#448979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #488e1f;
/* rgb */ color: rgb(72, 142, 31);
/* oklch */ color: oklch(57.9% 0.158 136.7);
Tailwind
colors: {
  custom: {
    50: '#82b064',
    500: '#488e1f',
    950: '#000000',
  },
}
SCSS
$custom: #488e1f;
$custom-light: #82b064;
$custom-dark: #000000;
JSON
{
  "hex": "#488e1f",
  "rgb": {
    "r": 72,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 97.838,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57892,
    "c": 0.1583,
    "h": 136.7
  },
  "luminance": 0.20823
}

Semantic roles & 50–950 ramp

primary
#488E1F
secondary
#934DBB
accent
#41E7AA
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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