#54620F#54620F

#54620F is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.8% C 0.103 H 119.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#54620F
RGBrgb(84, 98, 15)
HSLhsl(70, 73%, 22%)
HSVhsv(70, 85%, 38%)
CMYKcmyk(14.3%, 0%, 84.7%, 61.6%)
CIE-LABlab(38.99, -16.91, 41.34)
CIE-LCHlch(38.99, 44.67, 112.25°)
OKLaboklab(46.83% -0.0507 0.0902)
OKLCHoklch(46.83% 0.103 119.3)
XYZxyz(8.1102, 10.6547, 2.0812)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54620F #1D0F62
analogous
#62460F #54620F #2B620F
triadic
#54620F #0F5462 #620F54
tetradic
#54620F #0F6246 #1D0F62 #620F2B
square
#54620F #0F6246 #1D0F62 #620F2B
split-complementary
#54620F #0F2B62 #460F62
monochromatic
#171B04 #272D07 #54620F #819717 #AFCC1F

Accessibility & contrast

On white

6.71
#54620F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#54620F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54620F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54620F#FFFFFF#000000##FFFFFF
##54620F1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#675C17
Tritanopia (blue-blind)
#5A5C53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #54620f;
/* rgb */ color: rgb(84, 98, 15);
/* oklch */ color: oklch(46.8% 0.103 119.3);
Tailwind
colors: {
  custom: {
    50: '#878e56',
    500: '#54620f',
    950: '#000000',
  },
}
SCSS
$custom: #54620f;
$custom-light: #878e56;
$custom-dark: #000000;
JSON
{
  "hex": "#54620f",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 15
  },
  "hsl": {
    "h": 70.12,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46831,
    "c": 0.10348,
    "h": 119.3
  },
  "luminance": 0.10655
}

Semantic roles & 50–950 ramp

primary
#54620F
secondary
#44329B
accent
#38F057
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #54620F

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

Preview Lab → · Contrast checker → · Palette generator →

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