#54B125#54B125

#54B125 is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 67.7% C 0.192 H 137.7°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#54B125
RGBrgb(84, 177, 37)
HSLhsl(100, 65%, 42%)
HSVhsv(100, 79%, 69%)
CMYKcmyk(52.5%, 0%, 79.1%, 30.6%)
CIE-LABlab(64.53, -51.16, 58.09)
CIE-LCHlch(64.53, 77.41, 131.38°)
OKLaboklab(67.73% -0.1418 0.129)
OKLCHoklch(67.73% 0.192 137.7)
XYZxyz(19.7116, 33.4612, 7.1699)
Luminance0.3346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B125 #8225B1
analogous
#9AB125 #54B125 #25B13C
triadic
#54B125 #2554B1 #B12554
tetradic
#54B125 #259AB1 #8225B1 #B13C25
square
#54B125 #259AB1 #8225B1 #B13C25
split-complementary
#54B125 #3C25B1 #B1259A
monochromatic
#244C10 #3C7E1A #54B125 #70D63D #96E16F

Accessibility & contrast

On white

2.73
#54B125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#54B125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54B125
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54B125#FFFFFF#000000##000000
##54B1251.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#4DAB97
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #54b125;
/* rgb */ color: rgb(84, 177, 37);
/* oklch */ color: oklch(67.7% 0.192 137.7);
Tailwind
colors: {
  custom: {
    50: '#8ec96b',
    500: '#54b125',
    950: '#000000',
  },
}
SCSS
$custom: #54b125;
$custom-light: #8ec96b;
$custom-dark: #000000;
JSON
{
  "hex": "#54b125",
  "rgb": {
    "r": 84,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 99.857,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6773,
    "c": 0.1917,
    "h": 137.7
  },
  "luminance": 0.33463
}

Semantic roles & 50–950 ramp

primary
#54B125
secondary
#A86AC8
accent
#3FE8B0
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B125

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

Preview Lab → · Contrast checker → · Palette generator →

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