#545F14#545F14

#545F14 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.1% C 0.097 H 117.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#545F14
RGBrgb(84, 95, 20)
HSLhsl(69, 65%, 23%)
HSVhsv(69, 79%, 37%)
CMYKcmyk(11.6%, 0%, 78.9%, 62.7%)
CIE-LABlab(38.06, -15.03, 38.73)
CIE-LCHlch(38.06, 41.54, 111.21°)
OKLaboklab(46.09% -0.0451 0.0856)
OKLCHoklch(46.09% 0.097 117.8)
XYZxyz(7.8748, 10.1198, 2.2002)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F14 #1F145F
analogous
#5F4414 #545F14 #2F5F14
triadic
#545F14 #14545F #5F1454
tetradic
#545F14 #145F44 #1F145F #5F142F
square
#545F14 #145F44 #1F145F #5F142F
split-complementary
#545F14 #142F5F #44145F
monochromatic
#161905 #272C09 #545F14 #81921F #ADC429

Accessibility & contrast

On white

6.94
#545F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#545F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545F14
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545F14#FFFFFF#000000##FFFFFF
##545F141.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665905
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#5A5951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545f14;
/* rgb */ color: rgb(84, 95, 20);
/* oklch */ color: oklch(46.1% 0.097 117.8);
Tailwind
colors: {
  custom: {
    50: '#878c58',
    500: '#545f14',
    950: '#000000',
  },
}
SCSS
$custom: #545f14;
$custom-light: #878c58;
$custom-dark: #000000;
JSON
{
  "hex": "#545f14",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 20
  },
  "hsl": {
    "h": 68.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46086,
    "c": 0.09678,
    "h": 117.8
  },
  "luminance": 0.1012
}

Semantic roles & 50–950 ramp

primary
#545F14
secondary
#463897
accent
#40E858
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #545F14

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

Preview Lab → · Contrast checker → · Palette generator →

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