#54641F#54641F

#54641F is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.5% C 0.095 H 121.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#54641F
RGBrgb(84, 100, 31)
HSLhsl(74, 53%, 26%)
HSVhsv(74, 69%, 39%)
CMYKcmyk(16%, 0%, 69%, 60.8%)
CIE-LABlab(39.75, -17.03, 35.76)
CIE-LCHlch(39.75, 39.60, 115.47°)
OKLaboklab(47.47% -0.0495 0.0813)
OKLCHoklch(47.47% 0.095 121.3)
XYZxyz(8.4608, 11.0981, 2.9925)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54641F #2F1F64
analogous
#64511F #54641F #31641F
triadic
#54641F #1F5464 #641F54
tetradic
#54641F #1F6451 #2F1F64 #641F31
square
#54641F #1F6451 #2F1F64 #641F31
split-complementary
#54641F #1F3164 #511F64
monochromatic
#141707 #2D3511 #54641F #7B932D #A2C13C

Accessibility & contrast

On white

6.52
#54641F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#54641F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54641F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54641F#FFFFFF#000000##FFFFFF
##54641F1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E16
Deuteranopia (green-blind)
#685E24
Tritanopia (blue-blind)
#595F56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #54641f;
/* rgb */ color: rgb(84, 100, 31);
/* oklch */ color: oklch(47.5% 0.095 121.3);
Tailwind
colors: {
  custom: {
    50: '#86905f',
    500: '#54641f',
    950: '#000000',
  },
}
SCSS
$custom: #54641f;
$custom-light: #86905f;
$custom-dark: #000000;
JSON
{
  "hex": "#54641f",
  "rgb": {
    "r": 84,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 73.913,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47472,
    "c": 0.0952,
    "h": 121.3
  },
  "luminance": 0.11098
}

Semantic roles & 50–950 ramp

primary
#54641F
secondary
#594698
accent
#4CDC6D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #54641F

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

Preview Lab → · Contrast checker → · Palette generator →

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