#488B1B#488B1B

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

Color values

HEX#488B1B
RGBrgb(72, 139, 27)
HSLhsl(96, 67%, 33%)
HSVhsv(96, 81%, 55%)
CMYKcmyk(48.2%, 0%, 80.6%, 45.5%)
CIE-LABlab(51.75, -40.47, 48.99)
CIE-LCHlch(51.75, 63.55, 129.56°)
OKLaboklab(57.06% -0.1128 0.1087)
OKLCHoklch(57.06% 0.157 136.1)
XYZxyz(12.1026, 19.9213, 4.2442)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488B1B #5E1B8B
analogous
#808B1B #488B1B #1B8B26
triadic
#488B1B #1B488B #8B1B48
tetradic
#488B1B #1B808B #5E1B8B #8B261B
square
#488B1B #1B808B #5E1B8B #8B261B
split-complementary
#488B1B #261B8B #8B1B80
monochromatic
#132507 #2D5811 #488B1B #63BE25 #82DB45

Accessibility & contrast

On white

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

On black

4.98
#488B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488B1B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488B1B#FFFFFF#000000##000000
##488B1B1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#458676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #488b1b;
/* rgb */ color: rgb(72, 139, 27);
/* oklch */ color: oklch(57.1% 0.157 136.1);
Tailwind
colors: {
  custom: {
    50: '#82ad61',
    500: '#488b1b',
    950: '#000000',
  },
}
SCSS
$custom: #488b1b;
$custom-light: #82ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#488b1b",
  "rgb": {
    "r": 72,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 95.893,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57058,
    "c": 0.15667,
    "h": 136.1
  },
  "luminance": 0.19922
}

Semantic roles & 50–950 ramp

primary
#488B1B
secondary
#8D45BC
accent
#3DEAA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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