#54660F#54660F

#54660F is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.9% C 0.109 H 121.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#54660F
RGBrgb(84, 102, 15)
HSLhsl(72, 74%, 23%)
HSVhsv(72, 85%, 40%)
CMYKcmyk(17.6%, 0%, 85.3%, 60%)
CIE-LABlab(40.28, -19.05, 42.49)
CIE-LCHlch(40.28, 46.57, 114.15°)
OKLaboklab(47.87% -0.0565 0.0927)
OKLCHoklch(47.87% 0.109 121.4)
XYZxyz(8.4939, 11.4220, 2.2090)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54660F #210F66
analogous
#664C0F #54660F #28660F
triadic
#54660F #0F5466 #660F54
tetradic
#54660F #0F664C #210F66 #660F28
square
#54660F #0F664C #210F66 #660F28
split-complementary
#54660F #0F2866 #4C0F66
monochromatic
#161B04 #283107 #54660F #809B17 #ACD11F

Accessibility & contrast

On white

6.39
#54660F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#54660F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54660F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54660F#FFFFFF#000000##FFFFFF
##54660F1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#6B5F18
Tritanopia (blue-blind)
#596056
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #54660f;
/* rgb */ color: rgb(84, 102, 15);
/* oklch */ color: oklch(47.9% 0.109 121.4);
Tailwind
colors: {
  custom: {
    50: '#879157',
    500: '#54660f',
    950: '#000000',
  },
}
SCSS
$custom: #54660f;
$custom-light: #879157;
$custom-dark: #000000;
JSON
{
  "hex": "#54660f",
  "rgb": {
    "r": 84,
    "g": 102,
    "b": 15
  },
  "hsl": {
    "h": 72.414,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47872,
    "c": 0.10855,
    "h": 121.4
  },
  "luminance": 0.11422
}

Semantic roles & 50–950 ramp

primary
#54660F
secondary
#49329F
accent
#37F15D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #54660F

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

Preview Lab → · Contrast checker → · Palette generator →

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