#4C600F#4C600F

#4C600F is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.7% C 0.105 H 123.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4C600F
RGBrgb(76, 96, 15)
HSLhsl(75, 73%, 22%)
HSVhsv(75, 84%, 38%)
CMYKcmyk(20.8%, 0%, 84.4%, 62.4%)
CIE-LABlab(37.73, -19.54, 39.97)
CIE-LCHlch(37.73, 44.49, 116.05°)
OKLaboklab(45.65% -0.0574 0.0876)
OKLCHoklch(45.65% 0.105 123.2)
XYZxyz(7.2497, 9.9367, 1.9879)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C600F #230F60
analogous
#604C0F #4C600F #24600F
triadic
#4C600F #0F4C60 #600F4C
tetradic
#4C600F #0F604C #230F60 #600F24
square
#4C600F #0F604C #230F60 #600F24
split-complementary
#4C600F #0F2460 #4C0F60
monochromatic
#151A04 #222B07 #4C600F #769517 #A0CA20

Accessibility & contrast

On white

7.03
#4C600F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4C600F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C600F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C600F#FFFFFF#000000##FFFFFF
##4C600F1.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)
#665900
Deuteranopia (green-blind)
#645917
Tritanopia (blue-blind)
#505B51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c600f;
/* rgb */ color: rgb(76, 96, 15);
/* oklch */ color: oklch(45.7% 0.105 123.2);
Tailwind
colors: {
  custom: {
    50: '#818d56',
    500: '#4c600f',
    950: '#000000',
  },
}
SCSS
$custom: #4c600f;
$custom-light: #818d56;
$custom-dark: #000000;
JSON
{
  "hex": "#4c600f",
  "rgb": {
    "r": 76,
    "g": 96,
    "b": 15
  },
  "hsl": {
    "h": 74.815,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45654,
    "c": 0.10473,
    "h": 123.2
  },
  "luminance": 0.09937
}

Semantic roles & 50–950 ramp

primary
#4C600F
secondary
#4B3299
accent
#38F065
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C600F

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

Preview Lab → · Contrast checker → · Palette generator →

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