#54941B#54941B

#54941B is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.1% C 0.162 H 134.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#54941B
RGBrgb(84, 148, 27)
HSLhsl(92, 69%, 34%)
HSVhsv(92, 82%, 58%)
CMYKcmyk(43.2%, 0%, 81.8%, 42%)
CIE-LABlab(55.22, -40.16, 52.42)
CIE-LCHlch(55.22, 66.04, 127.46°)
OKLaboklab(60.06% -0.1128 0.1157)
OKLCHoklch(60.06% 0.162 134.3)
XYZxyz(14.4436, 23.1430, 4.7427)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54941B #5B1B94
analogous
#91941B #54941B #1B941F
triadic
#54941B #1B5494 #941B54
tetradic
#54941B #1B9194 #5B1B94 #941F1B
square
#54941B #1B9194 #5B1B94 #941F1B
split-complementary
#54941B #1F1B94 #941B91
monochromatic
#192C08 #376012 #54941B #71C824 #90DE4B

Accessibility & contrast

On white

3.73
#54941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#54941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54941B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54941B#FFFFFF#000000##000000
##54941B1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#538E7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #54941b;
/* rgb */ color: rgb(84, 148, 27);
/* oklch */ color: oklch(60.1% 0.162 134.3);
Tailwind
colors: {
  custom: {
    50: '#8ab463',
    500: '#54941b',
    950: '#000000',
  },
}
SCSS
$custom: #54941b;
$custom-light: #8ab463;
$custom-dark: #000000;
JSON
{
  "hex": "#54941b",
  "rgb": {
    "r": 84,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 91.736,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.16156,
    "h": 134.3
  },
  "luminance": 0.23144
}

Semantic roles & 50–950 ramp

primary
#54941B
secondary
#894BC0
accent
#3CEC99
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54941B

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

Preview Lab → · Contrast checker → · Palette generator →

#54941B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva