#54B123#54B123

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

Color values

HEX#54B123
RGBrgb(84, 177, 35)
HSLhsl(99, 67%, 42%)
HSVhsv(99, 80%, 69%)
CMYKcmyk(52.5%, 0%, 80.2%, 30.6%)
CIE-LABlab(64.52, -51.28, 58.68)
CIE-LCHlch(64.52, 77.92, 131.15°)
OKLaboklab(67.72% -0.1422 0.13)
OKLCHoklch(67.72% 0.193 137.6)
XYZxyz(19.6810, 33.4490, 7.0090)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B123 #8023B1
analogous
#9BB123 #54B123 #23B139
triadic
#54B123 #2354B1 #B12354
tetradic
#54B123 #239BB1 #8023B1 #B13923
square
#54B123 #239BB1 #8023B1 #B13923
split-complementary
#54B123 #3923B1 #B1239B
monochromatic
#244B0F #3C7E19 #54B123 #70D839 #95E26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54B123#FFFFFF#000000##000000
##54B1231.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)
#AB9A34
Tritanopia (blue-blind)
#4DAB97
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #54b123;
/* rgb */ color: rgb(84, 177, 35);
/* oklch */ color: oklch(67.7% 0.193 137.6);
Tailwind
colors: {
  custom: {
    50: '#8ec96a',
    500: '#54b123',
    950: '#000000',
  },
}
SCSS
$custom: #54b123;
$custom-light: #8ec96a;
$custom-dark: #000000;
JSON
{
  "hex": "#54b123",
  "rgb": {
    "r": 84,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 99.296,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67719,
    "c": 0.19263,
    "h": 137.6
  },
  "luminance": 0.3345
}

Semantic roles & 50–950 ramp

primary
#54B123
secondary
#A768C8
accent
#3EEAAF
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B123

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

Preview Lab → · Contrast checker → · Palette generator →

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