#488F1B#488F1B

#488F1B is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.1% C 0.162 H 136.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#488F1B
RGBrgb(72, 143, 27)
HSLhsl(97, 68%, 33%)
HSVhsv(97, 81%, 56%)
CMYKcmyk(49.7%, 0%, 81.1%, 43.9%)
CIE-LABlab(53.06, -42.10, 50.22)
CIE-LCHlch(53.06, 65.54, 129.97°)
OKLaboklab(58.14% -0.1172 0.1113)
OKLCHoklch(58.14% 0.162 136.5)
XYZxyz(12.6924, 21.1009, 4.4408)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488F1B #621B8F
analogous
#828F1B #488F1B #1B8F28
triadic
#488F1B #1B488F #8F1B48
tetradic
#488F1B #1B828F #621B8F #8F281B
square
#488F1B #1B828F #621B8F #8F281B
split-complementary
#488F1B #281B8F #8F1B82
monochromatic
#142808 #2E5C11 #488F1B #62C225 #82DC48

Accessibility & contrast

On white

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

On black

5.22
#488F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488F1B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488F1B#FFFFFF#000000##000000
##488F1B1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#448A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #488f1b;
/* rgb */ color: rgb(72, 143, 27);
/* oklch */ color: oklch(58.1% 0.162 136.5);
Tailwind
colors: {
  custom: {
    50: '#82b062',
    500: '#488f1b',
    950: '#000000',
  },
}
SCSS
$custom: #488f1b;
$custom-light: #82b062;
$custom-dark: #000000;
JSON
{
  "hex": "#488f1b",
  "rgb": {
    "r": 72,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 96.724,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58136,
    "c": 0.16162,
    "h": 136.5
  },
  "luminance": 0.21102
}

Semantic roles & 50–950 ramp

primary
#488F1B
secondary
#9048BE
accent
#3DEBA7
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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