#488E1B#488E1B

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

Color values

HEX#488E1B
RGBrgb(72, 142, 27)
HSLhsl(97, 68%, 33%)
HSVhsv(97, 81%, 56%)
CMYKcmyk(49.3%, 0%, 81%, 44.3%)
CIE-LABlab(52.73, -41.70, 49.92)
CIE-LCHlch(52.73, 65.04, 129.87°)
OKLaboklab(57.87% -0.1161 0.1106)
OKLCHoklch(57.87% 0.16 136.4)
XYZxyz(12.5430, 20.8020, 4.3909)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488E1B #611B8E
analogous
#818E1B #488E1B #1B8E28
triadic
#488E1B #1B488E #8E1B48
tetradic
#488E1B #1B818E #611B8E #8E281B
square
#488E1B #1B818E #611B8E #8E281B
split-complementary
#488E1B #281B8E #8E1B81
monochromatic
#142707 #2E5B11 #488E1B #62C125 #82DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488E1B#FFFFFF#000000##000000
##488E1B1.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)
#938100
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#448979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #488e1b;
/* rgb */ color: rgb(72, 142, 27);
/* oklch */ color: oklch(57.9% 0.160 136.4);
Tailwind
colors: {
  custom: {
    50: '#82b062',
    500: '#488e1b',
    950: '#000000',
  },
}
SCSS
$custom: #488e1b;
$custom-light: #82b062;
$custom-dark: #000000;
JSON
{
  "hex": "#488e1b",
  "rgb": {
    "r": 72,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 96.522,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57867,
    "c": 0.16039,
    "h": 136.4
  },
  "luminance": 0.20803
}

Semantic roles & 50–950 ramp

primary
#488E1B
secondary
#8F47BE
accent
#3DEBA7
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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