#54991F#54991F

#54991F is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.4% C 0.166 H 135.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#54991F
RGBrgb(84, 153, 31)
HSLhsl(94, 66%, 36%)
HSVhsv(94, 80%, 60%)
CMYKcmyk(45.1%, 0%, 79.7%, 40%)
CIE-LABlab(56.85, -42.03, 52.71)
CIE-LCHlch(56.85, 67.42, 128.57°)
OKLaboklab(61.4% -0.1176 0.1169)
OKLCHoklch(61.4% 0.166 135.2)
XYZxyz(15.2944, 24.7653, 5.2703)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54991F #641F99
analogous
#91991F #54991F #1F9927
triadic
#54991F #1F5499 #991F54
tetradic
#54991F #1F9199 #641F99 #99271F
square
#54991F #1F9199 #641F99 #99271F
split-complementary
#54991F #271F99 #991F91
monochromatic
#1C330A #386615 #54991F #70CC29 #90DD56

Accessibility & contrast

On white

3.53
#54991F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#54991F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54991F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54991F#FFFFFF#000000##000000
##54991F1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#96862D
Tritanopia (blue-blind)
#529382
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #54991f;
/* rgb */ color: rgb(84, 153, 31);
/* oklch */ color: oklch(61.4% 0.166 135.2);
Tailwind
colors: {
  custom: {
    50: '#8bb765',
    500: '#54991f',
    950: '#000000',
  },
}
SCSS
$custom: #54991f;
$custom-light: #8bb765;
$custom-dark: #000000;
JSON
{
  "hex": "#54991f",
  "rgb": {
    "r": 84,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 93.934,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61398,
    "c": 0.16579,
    "h": 135.2
  },
  "luminance": 0.24766
}

Semantic roles & 50–950 ramp

primary
#54991F
secondary
#9154C0
accent
#3FE99F
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54991F

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

Preview Lab → · Contrast checker → · Palette generator →

#54991F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva