#487823#487823

#487823 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.0% C 0.127 H 134.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#487823
RGBrgb(72, 120, 35)
HSLhsl(94, 55%, 30%)
HSVhsv(94, 71%, 47%)
CMYKcmyk(40%, 0%, 70.8%, 52.9%)
CIE-LABlab(45.54, -31.66, 39.83)
CIE-LCHlch(45.54, 50.89, 128.48°)
OKLaboklab(51.99% -0.0885 0.0907)
OKLCHoklch(51.99% 0.127 134.3)
XYZxyz(9.6921, 14.9315, 3.9612)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487823 #532378
analogous
#737823 #487823 #237828
triadic
#487823 #234878 #782348
tetradic
#487823 #237378 #532378 #782823
square
#487823 #237378 #532378 #782823
split-complementary
#487823 #282378 #782373
monochromatic
#0F1907 #2C4915 #487823 #64A731 #82CA4B

Accessibility & contrast

On white

5.27
#487823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#487823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487823
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487823#FFFFFF#000000##FFFFFF
##4878231.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E17
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#487367
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #487823;
/* rgb */ color: rgb(72, 120, 35);
/* oklch */ color: oklch(52.0% 0.127 134.3);
Tailwind
colors: {
  custom: {
    50: '#7f9f63',
    500: '#487823',
    950: '#000000',
  },
}
SCSS
$custom: #487823;
$custom-light: #7f9f63;
$custom-dark: #000000;
JSON
{
  "hex": "#487823",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 35
  },
  "hsl": {
    "h": 93.882,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51986,
    "c": 0.12672,
    "h": 134.3
  },
  "luminance": 0.14932
}

Semantic roles & 50–950 ramp

primary
#487823
secondary
#824CAB
accent
#4ADE9E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #487823

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

Preview Lab → · Contrast checker → · Palette generator →

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