#545F10#545F10

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

Color values

HEX#545F10
RGBrgb(84, 95, 16)
HSLhsl(68, 71%, 22%)
HSVhsv(68, 83%, 37%)
CMYKcmyk(11.6%, 0%, 83.2%, 62.7%)
CIE-LABlab(38.03, -15.23, 40.15)
CIE-LCHlch(38.03, 42.94, 110.78°)
OKLaboklab(46.06% -0.046 0.0879)
OKLCHoklch(46.06% 0.099 117.6)
XYZxyz(7.8421, 10.1067, 2.0278)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F10 #1B105F
analogous
#5F4310 #545F10 #2D5F10
triadic
#545F10 #10545F #5F1054
tetradic
#545F10 #105F43 #1B105F #5F102D
square
#545F10 #105F43 #1B105F #5F102D
split-complementary
#545F10 #102D5F #43105F
monochromatic
#171A04 #262B07 #545F10 #829319 #B1C822

Accessibility & contrast

On white

6.95
#545F10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545F10
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545F10#FFFFFF#000000##FFFFFF
##545F101.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#655A18
Tritanopia (blue-blind)
#5A5950
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545f10;
/* rgb */ color: rgb(84, 95, 16);
/* oklch */ color: oklch(46.1% 0.099 117.6);
Tailwind
colors: {
  custom: {
    50: '#878c56',
    500: '#545f10',
    950: '#000000',
  },
}
SCSS
$custom: #545f10;
$custom-light: #878c56;
$custom-dark: #000000;
JSON
{
  "hex": "#545f10",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 68.354,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.09918,
    "h": 117.6
  },
  "luminance": 0.10107
}

Semantic roles & 50–950 ramp

primary
#545F10
secondary
#413398
accent
#3AEE53
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #545F10

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

Preview Lab → · Contrast checker → · Palette generator →

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