#54600F#54600F

#54600F is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.3% C 0.101 H 118.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#54600F
RGBrgb(84, 96, 15)
HSLhsl(69, 73%, 22%)
HSVhsv(69, 84%, 38%)
CMYKcmyk(12.5%, 0%, 84.4%, 62.4%)
CIE-LABlab(38.35, -15.82, 40.76)
CIE-LCHlch(38.35, 43.73, 111.22°)
OKLaboklab(46.31% -0.0477 0.089)
OKLCHoklch(46.31% 0.101 118.2)
XYZxyz(7.9254, 10.2851, 2.0196)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54600F #1B0F60
analogous
#60440F #54600F #2C600F
triadic
#54600F #0F5460 #600F54
tetradic
#54600F #0F6044 #1B0F60 #600F2C
square
#54600F #0F6044 #1B0F60 #600F2C
split-complementary
#54600F #0F2C60 #440F60
monochromatic
#171A04 #262B07 #54600F #829517 #B1CA20

Accessibility & contrast

On white

6.87
#54600F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#54600F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54600F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54600F#FFFFFF#000000##FFFFFF
##54600F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#665B17
Tritanopia (blue-blind)
#5A5A51
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #54600f;
/* rgb */ color: rgb(84, 96, 15);
/* oklch */ color: oklch(46.3% 0.101 118.2);
Tailwind
colors: {
  custom: {
    50: '#878d56',
    500: '#54600f',
    950: '#000000',
  },
}
SCSS
$custom: #54600f;
$custom-light: #878d56;
$custom-dark: #000000;
JSON
{
  "hex": "#54600f",
  "rgb": {
    "r": 84,
    "g": 96,
    "b": 15
  },
  "hsl": {
    "h": 68.889,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.46313,
    "c": 0.10097,
    "h": 118.2
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#54600F
secondary
#413299
accent
#38F053
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #54600F

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

Preview Lab → · Contrast checker → · Palette generator →

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