#545E10#545E10

#545E10 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.8% C 0.098 H 117.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#545E10
RGBrgb(84, 94, 16)
HSLhsl(68, 71%, 22%)
HSVhsv(68, 83%, 37%)
CMYKcmyk(10.6%, 0%, 83%, 63.1%)
CIE-LABlab(37.71, -14.68, 39.86)
CIE-LCHlch(37.71, 42.47, 110.22°)
OKLaboklab(45.8% -0.0445 0.0872)
OKLCHoklch(45.8% 0.098 117)
XYZxyz(7.7526, 9.9277, 1.9980)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545E10 #1A105E
analogous
#5E4110 #545E10 #2D5E10
triadic
#545E10 #10545E #5E1054
tetradic
#545E10 #105E41 #1A105E #5E102D
square
#545E10 #105E41 #1A105E #5E102D
split-complementary
#545E10 #102D5E #41105E
monochromatic
#171A04 #252A07 #545E10 #839219 #B1C722

Accessibility & contrast

On white

7.03
#545E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#545E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545E10
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545E10#FFFFFF#000000##FFFFFF
##545E101.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#645917
Tritanopia (blue-blind)
#5A5850
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #545e10;
/* rgb */ color: rgb(84, 94, 16);
/* oklch */ color: oklch(45.8% 0.098 117.0);
Tailwind
colors: {
  custom: {
    50: '#878b56',
    500: '#545e10',
    950: '#000000',
  },
}
SCSS
$custom: #545e10;
$custom-light: #878b56;
$custom-dark: #000000;
JSON
{
  "hex": "#545e10",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 16
  },
  "hsl": {
    "h": 67.692,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45802,
    "c": 0.09793,
    "h": 117
  },
  "luminance": 0.09928
}

Semantic roles & 50–950 ramp

primary
#545E10
secondary
#403397
accent
#3AEE51
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #545E10

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

Preview Lab → · Contrast checker → · Palette generator →

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