#54651F#54651F

#54651F is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.7% C 0.097 H 121.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#54651F
RGBrgb(84, 101, 31)
HSLhsl(75, 53%, 26%)
HSVhsv(75, 69%, 40%)
CMYKcmyk(16.8%, 0%, 69.3%, 60.4%)
CIE-LABlab(40.07, -17.57, 36.10)
CIE-LCHlch(40.07, 40.14, 115.95°)
OKLaboklab(47.73% -0.051 0.082)
OKLCHoklch(47.73% 0.097 121.9)
XYZxyz(8.5573, 11.2911, 3.0246)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54651F #301F65
analogous
#65531F #54651F #31651F
triadic
#54651F #1F5465 #651F54
tetradic
#54651F #1F6553 #301F65 #651F31
square
#54651F #1F6553 #301F65 #651F31
split-complementary
#54651F #1F3165 #531F65
monochromatic
#131707 #2D3611 #54651F #7B942D #A2C33C

Accessibility & contrast

On white

6.45
#54651F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#54651F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54651F
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54651F#FFFFFF#000000##FFFFFF
##54651F1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F16
Deuteranopia (green-blind)
#695E24
Tritanopia (blue-blind)
#596057
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #54651f;
/* rgb */ color: rgb(84, 101, 31);
/* oklch */ color: oklch(47.7% 0.097 121.9);
Tailwind
colors: {
  custom: {
    50: '#86915f',
    500: '#54651f',
    950: '#000000',
  },
}
SCSS
$custom: #54651f;
$custom-light: #86915f;
$custom-dark: #000000;
JSON
{
  "hex": "#54651f",
  "rgb": {
    "r": 84,
    "g": 101,
    "b": 31
  },
  "hsl": {
    "h": 74.571,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47731,
    "c": 0.09658,
    "h": 121.9
  },
  "luminance": 0.11291
}

Semantic roles & 50–950 ramp

primary
#54651F
secondary
#5B4699
accent
#4BDC6F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #54651F

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

Preview Lab → · Contrast checker → · Palette generator →

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