#54760F#54760F

#54760F is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.1% C 0.129 H 127.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#54760F
RGBrgb(84, 118, 15)
HSLhsl(80, 77%, 26%)
HSVhsv(80, 87%, 46%)
CMYKcmyk(28.8%, 0%, 87.3%, 53.7%)
CIE-LABlab(45.46, -27.16, 47.05)
CIE-LCHlch(45.46, 54.32, 120.00°)
OKLaboklab(52.07% -0.0786 0.1024)
OKLCHoklch(52.07% 0.129 127.5)
XYZxyz(10.2209, 14.8759, 2.7847)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54760F #310F76
analogous
#76640F #54760F #20760F
triadic
#54760F #0F5476 #760F54
tetradic
#54760F #0F7664 #310F76 #760F20
square
#54760F #0F7664 #310F76 #760F20
split-complementary
#54760F #0F2076 #640F76
monochromatic
#131B03 #2D4008 #54760F #7BAC16 #A1E21D

Accessibility & contrast

On white

5.28
#54760F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#54760F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54760F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54760F#FFFFFF#000000##FFFFFF
##54760F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#587064
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #54760f;
/* rgb */ color: rgb(84, 118, 15);
/* oklch */ color: oklch(52.1% 0.129 127.5);
Tailwind
colors: {
  custom: {
    50: '#889d5a',
    500: '#54760f',
    950: '#000000',
  },
}
SCSS
$custom: #54760f;
$custom-light: #889d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#54760f",
  "rgb": {
    "r": 84,
    "g": 118,
    "b": 15
  },
  "hsl": {
    "h": 79.806,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52071,
    "c": 0.12905,
    "h": 127.5
  },
  "luminance": 0.14876
}

Semantic roles & 50–950 ramp

primary
#54760F
secondary
#5C33AD
accent
#34F473
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #54760F

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

Preview Lab → · Contrast checker → · Palette generator →

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