#545F1F#545F1F

#545F1F is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.2% C 0.088 H 118.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#545F1F
RGBrgb(84, 95, 31)
HSLhsl(70, 51%, 25%)
HSVhsv(70, 67%, 37%)
CMYKcmyk(11.6%, 0%, 67.4%, 62.7%)
CIE-LABlab(38.14, -14.29, 34.05)
CIE-LCHlch(38.14, 36.93, 112.76°)
OKLaboklab(46.18% -0.0418 0.0777)
OKLCHoklch(46.18% 0.088 118.3)
XYZxyz(7.9958, 10.1682, 2.8375)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F1F #2A1F5F
analogous
#5F4A1F #545F1F #345F1F
triadic
#545F1F #1F545F #5F1F54
tetradic
#545F1F #1F5F4A #2A1F5F #5F1F34
square
#545F1F #1F5F4A #2A1F5F #5F1F34
split-complementary
#545F1F #1F345F #4A1F5F
monochromatic
#141708 #2B3110 #545F1F #7D8D2E #A6BB3D

Accessibility & contrast

On white

6.92
#545F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#545F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545F1F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545F1F#FFFFFF#000000##FFFFFF
##545F1F1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A17
Deuteranopia (green-blind)
#645A23
Tritanopia (blue-blind)
#595A52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545f1f;
/* rgb */ color: rgb(84, 95, 31);
/* oklch */ color: oklch(46.2% 0.088 118.3);
Tailwind
colors: {
  custom: {
    50: '#868c5e',
    500: '#545f1f',
    950: '#000000',
  },
}
SCSS
$custom: #545f1f;
$custom-light: #868c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#545f1f",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 31
  },
  "hsl": {
    "h": 70.313,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46183,
    "c": 0.08828,
    "h": 118.3
  },
  "luminance": 0.10168
}

Semantic roles & 50–950 ramp

primary
#545F1F
secondary
#534694
accent
#4EDA66
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #545F1F

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

Preview Lab → · Contrast checker → · Palette generator →

#545F1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva