#54680F#54680F

#54680F is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.4% C 0.111 H 122.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#54680F
RGBrgb(84, 104, 15)
HSLhsl(73, 75%, 23%)
HSVhsv(73, 86%, 41%)
CMYKcmyk(19.2%, 0%, 85.6%, 59.2%)
CIE-LABlab(40.93, -20.11, 43.06)
CIE-LCHlch(40.93, 47.53, 115.03°)
OKLaboklab(48.39% -0.0594 0.0939)
OKLCHoklch(48.39% 0.111 122.3)
XYZxyz(8.6928, 11.8199, 2.2754)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54680F #230F68
analogous
#684F0F #54680F #27680F
triadic
#54680F #0F5468 #680F54
tetradic
#54680F #0F684F #230F68 #680F27
square
#54680F #0F684F #230F68 #680F27
split-complementary
#54680F #0F2768 #4F0F68
monochromatic
#161B04 #293307 #54680F #7F9D17 #AAD31E

Accessibility & contrast

On white

6.24
#54680F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#54680F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54680F
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54680F#FFFFFF#000000##FFFFFF
##54680F1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6C6019
Tritanopia (blue-blind)
#596258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #54680f;
/* rgb */ color: rgb(84, 104, 15);
/* oklch */ color: oklch(48.4% 0.111 122.3);
Tailwind
colors: {
  custom: {
    50: '#879357',
    500: '#54680f',
    950: '#000000',
  },
}
SCSS
$custom: #54680f;
$custom-light: #879357;
$custom-dark: #000000;
JSON
{
  "hex": "#54680f",
  "rgb": {
    "r": 84,
    "g": 104,
    "b": 15
  },
  "hsl": {
    "h": 73.483,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48393,
    "c": 0.11112,
    "h": 122.3
  },
  "luminance": 0.1182
}

Semantic roles & 50–950 ramp

primary
#54680F
secondary
#4B32A1
accent
#36F160
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D03
muted
#7D7E78

Preview Lab

Preview with #54680F

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

Preview Lab → · Contrast checker → · Palette generator →

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