#54B231#54B231

#54B231 is a light, vivid green. Relative luminance 0.339; OKLCH L 68.1% C 0.186 H 138.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#54B231
RGBrgb(84, 178, 49)
HSLhsl(104, 57%, 45%)
HSVhsv(104, 72%, 70%)
CMYKcmyk(52.8%, 0%, 72.5%, 30.2%)
CIE-LABlab(64.92, -50.75, 54.39)
CIE-LCHlch(64.92, 74.39, 133.02°)
OKLaboklab(68.07% -0.1399 0.123)
OKLCHoklch(68.07% 0.186 138.7)
XYZxyz(20.1302, 33.9458, 8.3966)
Luminance0.3395 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B231 #8F31B2
analogous
#95B231 #54B231 #31B24F
triadic
#54B231 #3154B2 #B23154
tetradic
#54B231 #3195B2 #8F31B2 #B24F31
square
#54B231 #3195B2 #8F31B2 #B24F31
split-complementary
#54B231 #4F31B2 #B23195
monochromatic
#275217 #3D8224 #54B231 #73CF51 #9ADC81

Accessibility & contrast

On white

2.70
#54B231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#54B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54B231
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54B231#FFFFFF#000000##000000
##54B2311.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21A
Deuteranopia (green-blind)
#AB9B3E
Tritanopia (blue-blind)
#4CAC99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #54b231;
/* rgb */ color: rgb(84, 178, 49);
/* oklch */ color: oklch(68.1% 0.186 138.7);
Tailwind
colors: {
  custom: {
    50: '#8dca71',
    500: '#54b231',
    950: '#000000',
  },
}
SCSS
$custom: #54b231;
$custom-light: #8dca71;
$custom-dark: #000000;
JSON
{
  "hex": "#54b231",
  "rgb": {
    "r": 84,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 103.721,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68071,
    "c": 0.18631,
    "h": 138.7
  },
  "luminance": 0.33947
}

Semantic roles & 50–950 ramp

primary
#54B231
secondary
#B179C5
accent
#48E0B7
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #54B231

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

Preview Lab → · Contrast checker → · Palette generator →

#54B231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva