#488E1C#488E1C

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

Color values

HEX#488E1C
RGBrgb(72, 142, 28)
HSLhsl(97, 67%, 33%)
HSVhsv(97, 80%, 56%)
CMYKcmyk(49.3%, 0%, 80.3%, 44.3%)
CIE-LABlab(52.74, -41.64, 49.61)
CIE-LCHlch(52.74, 64.77, 130.01°)
OKLaboklab(57.87% -0.1159 0.1101)
OKLCHoklch(57.87% 0.16 136.5)
XYZxyz(12.5547, 20.8067, 4.4529)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488E1C #621C8E
analogous
#818E1C #488E1C #1C8E29
triadic
#488E1C #1C488E #8E1C48
tetradic
#488E1C #1C818E #621C8E #8E291C
square
#488E1C #1C818E #621C8E #8E291C
split-complementary
#488E1C #291C8E #8E1C81
monochromatic
#142808 #2E5B12 #488E1C #62C126 #82DB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488E1C#FFFFFF#000000##000000
##488E1C1.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)
#8A7C29
Tritanopia (blue-blind)
#448979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #488e1c;
/* rgb */ color: rgb(72, 142, 28);
/* oklch */ color: oklch(57.9% 0.160 136.5);
Tailwind
colors: {
  custom: {
    50: '#82b062',
    500: '#488e1c',
    950: '#000000',
  },
}
SCSS
$custom: #488e1c;
$custom-light: #82b062;
$custom-dark: #000000;
JSON
{
  "hex": "#488e1c",
  "rgb": {
    "r": 72,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 96.842,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57873,
    "c": 0.15989,
    "h": 136.5
  },
  "luminance": 0.20808
}

Semantic roles & 50–950 ramp

primary
#488E1C
secondary
#9049BD
accent
#3EEAA8
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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