#54650F#54650F

#54650F is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.6% C 0.107 H 120.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#54650F
RGBrgb(84, 101, 15)
HSLhsl(72, 74%, 23%)
HSVhsv(72, 85%, 40%)
CMYKcmyk(16.8%, 0%, 85.1%, 60.4%)
CIE-LABlab(39.96, -18.52, 42.20)
CIE-LCHlch(39.96, 46.09, 113.70°)
OKLaboklab(47.61% -0.0551 0.0921)
OKLCHoklch(47.61% 0.107 120.9)
XYZxyz(8.3962, 11.2267, 2.1765)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54650F #200F65
analogous
#654B0F #54650F #29650F
triadic
#54650F #0F5465 #650F54
tetradic
#54650F #0F654B #200F65 #650F29
square
#54650F #0F654B #200F65 #650F29
split-complementary
#54650F #0F2965 #4B0F65
monochromatic
#161B04 #283007 #54650F #809A17 #ADD01F

Accessibility & contrast

On white

6.47
#54650F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#54650F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54650F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54650F#FFFFFF#000000##FFFFFF
##54650F1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#6A5E18
Tritanopia (blue-blind)
#595F55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #54650f;
/* rgb */ color: rgb(84, 101, 15);
/* oklch */ color: oklch(47.6% 0.107 120.9);
Tailwind
colors: {
  custom: {
    50: '#879057',
    500: '#54650f',
    950: '#000000',
  },
}
SCSS
$custom: #54650f;
$custom-light: #879057;
$custom-dark: #000000;
JSON
{
  "hex": "#54650f",
  "rgb": {
    "r": 84,
    "g": 101,
    "b": 15
  },
  "hsl": {
    "h": 71.86,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47611,
    "c": 0.10728,
    "h": 120.9
  },
  "luminance": 0.11227
}

Semantic roles & 50–950 ramp

primary
#54650F
secondary
#47329E
accent
#37F15C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #54650F

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

Preview Lab → · Contrast checker → · Palette generator →

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