#488B1C#488B1C

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

Color values

HEX#488B1C
RGBrgb(72, 139, 28)
HSLhsl(96, 66%, 33%)
HSVhsv(96, 80%, 55%)
CMYKcmyk(48.2%, 0%, 79.9%, 45.5%)
CIE-LABlab(51.75, -40.41, 48.68)
CIE-LCHlch(51.75, 63.27, 129.70°)
OKLaboklab(57.06% -0.1126 0.1082)
OKLCHoklch(57.06% 0.156 136.2)
XYZxyz(12.1144, 19.9260, 4.3061)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488B1C #5F1C8B
analogous
#7F8B1C #488B1C #1C8B27
triadic
#488B1C #1C488B #8B1C48
tetradic
#488B1C #1C7F8B #5F1C8B #8B271C
square
#488B1C #1C7F8B #5F1C8B #8B271C
split-complementary
#488B1C #271C8B #8B1C7F
monochromatic
#132507 #2E5812 #488B1C #62BE26 #82DA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488B1C#FFFFFF#000000##000000
##488B1C1.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)
#907F00
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#458676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #488b1c;
/* rgb */ color: rgb(72, 139, 28);
/* oklch */ color: oklch(57.1% 0.156 136.2);
Tailwind
colors: {
  custom: {
    50: '#82ad62',
    500: '#488b1c',
    950: '#000000',
  },
}
SCSS
$custom: #488b1c;
$custom-light: #82ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#488b1c",
  "rgb": {
    "r": 72,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 96.216,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57064,
    "c": 0.15615,
    "h": 136.2
  },
  "luminance": 0.19927
}

Semantic roles & 50–950 ramp

primary
#488B1C
secondary
#8E47BC
accent
#3EE9A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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