#4C680F#4C680F

#4C680F is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.8% C 0.115 H 126.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4C680F
RGBrgb(76, 104, 15)
HSLhsl(79, 75%, 23%)
HSVhsv(79, 86%, 41%)
CMYKcmyk(26.9%, 0%, 85.6%, 59.2%)
CIE-LABlab(40.36, -23.67, 42.35)
CIE-LCHlch(40.36, 48.51, 119.20°)
OKLaboklab(47.79% -0.0686 0.0926)
OKLCHoklch(47.79% 0.115 126.5)
XYZxyz(8.0171, 11.4715, 2.2437)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C680F #2B0F68
analogous
#68570F #4C680F #20680F
triadic
#4C680F #0F4C68 #680F4C
tetradic
#4C680F #0F6857 #2B0F68 #680F20
square
#4C680F #0F6857 #2B0F68 #680F20
split-complementary
#4C680F #0F2068 #570F68
monochromatic
#141B04 #253307 #4C680F #739D17 #9AD31E

Accessibility & contrast

On white

6.37
#4C680F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4C680F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C680F
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C680F#FFFFFF#000000##FFFFFF
##4C680F1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6A5F19
Tritanopia (blue-blind)
#506358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c680f;
/* rgb */ color: rgb(76, 104, 15);
/* oklch */ color: oklch(47.8% 0.115 126.5);
Tailwind
colors: {
  custom: {
    50: '#819357',
    500: '#4c680f',
    950: '#000000',
  },
}
SCSS
$custom: #4c680f;
$custom-light: #819357;
$custom-dark: #000000;
JSON
{
  "hex": "#4c680f",
  "rgb": {
    "r": 76,
    "g": 104,
    "b": 15
  },
  "hsl": {
    "h": 78.876,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4779,
    "c": 0.11528,
    "h": 126.5
  },
  "luminance": 0.11472
}

Semantic roles & 50–950 ramp

primary
#4C680F
secondary
#5532A1
accent
#36F171
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D03
muted
#7C7E78

Preview Lab

Preview with #4C680F

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

Preview Lab → · Contrast checker → · Palette generator →

#4C680F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva