#54670F#54670F

#54670F is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.1% C 0.110 H 121.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#54670F
RGBrgb(84, 103, 15)
HSLhsl(73, 75%, 23%)
HSVhsv(73, 85%, 40%)
CMYKcmyk(18.4%, 0%, 85.4%, 59.6%)
CIE-LABlab(40.61, -19.58, 42.78)
CIE-LCHlch(40.61, 47.05, 114.60°)
OKLaboklab(48.13% -0.058 0.0933)
OKLCHoklch(48.13% 0.11 121.9)
XYZxyz(8.5928, 11.6198, 2.2420)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54670F #220F67
analogous
#674E0F #54670F #28670F
triadic
#54670F #0F5467 #670F54
tetradic
#54670F #0F674E #220F67 #670F28
square
#54670F #0F674E #220F67 #670F28
split-complementary
#54670F #0F2867 #4E0F67
monochromatic
#161B04 #283207 #54670F #809C17 #ABD21F

Accessibility & contrast

On white

6.32
#54670F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#54670F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54670F
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54670F#FFFFFF#000000##FFFFFF
##54670F1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6B6018
Tritanopia (blue-blind)
#596157
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #54670f;
/* rgb */ color: rgb(84, 103, 15);
/* oklch */ color: oklch(48.1% 0.110 121.9);
Tailwind
colors: {
  custom: {
    50: '#879257',
    500: '#54670f',
    950: '#000000',
  },
}
SCSS
$custom: #54670f;
$custom-light: #879257;
$custom-dark: #000000;
JSON
{
  "hex": "#54670f",
  "rgb": {
    "r": 84,
    "g": 103,
    "b": 15
  },
  "hsl": {
    "h": 72.955,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48132,
    "c": 0.10983,
    "h": 121.9
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#54670F
secondary
#4A32A0
accent
#37F15F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D03
muted
#7D7D78

Preview Lab

Preview with #54670F

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

Preview Lab → · Contrast checker → · Palette generator →

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