#4A760F#4A760F

#4A760F is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.4% C 0.135 H 131.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4A760F
RGBrgb(74, 118, 15)
HSLhsl(86, 77%, 26%)
HSVhsv(86, 87%, 46%)
CMYKcmyk(37.3%, 0%, 87.3%, 53.7%)
CIE-LABlab(44.87, -31.23, 46.29)
CIE-LCHlch(44.87, 55.84, 124.00°)
OKLaboklab(51.43% -0.0889 0.1011)
OKLCHoklch(51.43% 0.135 131.3)
XYZxyz(9.3886, 14.4468, 2.7457)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A760F #3B0F76
analogous
#766E0F #4A760F #16760F
triadic
#4A760F #0F4A76 #760F4A
tetradic
#4A760F #0F766E #3B0F76 #760F16
square
#4A760F #0F766E #3B0F76 #760F16
split-complementary
#4A760F #0F1676 #6E0F76
monochromatic
#111B03 #284008 #4A760F #6CAC16 #8EE21D

Accessibility & contrast

On white

5.40
#4A760F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4A760F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A760F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A760F#FFFFFF#000000##FFFFFF
##4A760F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6C00
Deuteranopia (green-blind)
#76691C
Tritanopia (blue-blind)
#4B7164
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a760f;
/* rgb */ color: rgb(74, 118, 15);
/* oklch */ color: oklch(51.4% 0.135 131.3);
Tailwind
colors: {
  custom: {
    50: '#819e59',
    500: '#4a760f',
    950: '#000000',
  },
}
SCSS
$custom: #4a760f;
$custom-light: #819e59;
$custom-dark: #000000;
JSON
{
  "hex": "#4a760f",
  "rgb": {
    "r": 74,
    "g": 118,
    "b": 15
  },
  "hsl": {
    "h": 85.631,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51426,
    "c": 0.13459,
    "h": 131.3
  },
  "luminance": 0.14447
}

Semantic roles & 50–950 ramp

primary
#4A760F
secondary
#6833AD
accent
#34F486
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A760F

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

Preview Lab → · Contrast checker → · Palette generator →

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