#54640F#54640F

#54640F is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.4% C 0.106 H 120.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#54640F
RGBrgb(84, 100, 15)
HSLhsl(71, 74%, 23%)
HSVhsv(71, 85%, 39%)
CMYKcmyk(16%, 0%, 85%, 60.8%)
CIE-LABlab(39.64, -17.99, 41.92)
CIE-LCHlch(39.64, 45.61, 113.23°)
OKLaboklab(47.35% -0.0536 0.0914)
OKLCHoklch(47.35% 0.106 120.4)
XYZxyz(8.2997, 11.0337, 2.1443)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54640F #1F0F64
analogous
#64490F #54640F #2A640F
triadic
#54640F #0F5464 #640F54
tetradic
#54640F #0F6449 #1F0F64 #640F2A
square
#54640F #0F6449 #1F0F64 #640F2A
split-complementary
#54640F #0F2A64 #490F64
monochromatic
#161B04 #272F07 #54640F #819917 #ADCE1F

Accessibility & contrast

On white

6.55
#54640F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#54640F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54640F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54640F#FFFFFF#000000##FFFFFF
##54640F1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#695E18
Tritanopia (blue-blind)
#595E55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #54640f;
/* rgb */ color: rgb(84, 100, 15);
/* oklch */ color: oklch(47.4% 0.106 120.4);
Tailwind
colors: {
  custom: {
    50: '#879057',
    500: '#54640f',
    950: '#000000',
  },
}
SCSS
$custom: #54640f;
$custom-light: #879057;
$custom-dark: #000000;
JSON
{
  "hex": "#54640f",
  "rgb": {
    "r": 84,
    "g": 100,
    "b": 15
  },
  "hsl": {
    "h": 71.294,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.47351,
    "c": 0.10601,
    "h": 120.4
  },
  "luminance": 0.11034
}

Semantic roles & 50–950 ramp

primary
#54640F
secondary
#46329D
accent
#37F15A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #54640F

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

Preview Lab → · Contrast checker → · Palette generator →

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