#488123#488123

#488123 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.139 H 135.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#488123
RGBrgb(72, 129, 35)
HSLhsl(96, 57%, 32%)
HSVhsv(96, 73%, 51%)
CMYKcmyk(44.2%, 0%, 72.9%, 49.4%)
CIE-LABlab(48.51, -35.69, 42.91)
CIE-LCHlch(48.51, 55.81, 129.75°)
OKLaboklab(54.42% -0.0994 0.0972)
OKLCHoklch(54.42% 0.139 135.6)
XYZxyz(10.8259, 17.1990, 4.3391)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488123 #5C2381
analogous
#778123 #488123 #23812D
triadic
#488123 #234881 #812348
tetradic
#488123 #237781 #5C2381 #812D23
square
#488123 #237781 #5C2381 #812D23
split-complementary
#488123 #2D2381 #812377
monochromatic
#122109 #2D5116 #488123 #63B130 #82CF4F

Accessibility & contrast

On white

4.73
#488123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#488123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488123
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488123#FFFFFF#000000##FFFFFF
##4881231.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867614
Deuteranopia (green-blind)
#7E712C
Tritanopia (blue-blind)
#467C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #488123;
/* rgb */ color: rgb(72, 129, 35);
/* oklch */ color: oklch(54.4% 0.139 135.6);
Tailwind
colors: {
  custom: {
    50: '#80a664',
    500: '#488123',
    950: '#000000',
  },
}
SCSS
$custom: #488123;
$custom-light: #80a664;
$custom-dark: #000000;
JSON
{
  "hex": "#488123",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 96.383,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54416,
    "c": 0.139,
    "h": 135.6
  },
  "luminance": 0.172
}

Semantic roles & 50–950 ramp

primary
#488123
secondary
#8B4DB3
accent
#47E1A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #488123

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

Preview Lab → · Contrast checker → · Palette generator →

#488123 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva