#4A7010#4A7010

#4A7010 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.8% C 0.126 H 129.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4A7010
RGBrgb(74, 112, 16)
HSLhsl(84, 75%, 25%)
HSVhsv(84, 86%, 44%)
CMYKcmyk(33.9%, 0%, 85.7%, 56.1%)
CIE-LABlab(42.89, -28.38, 44.26)
CIE-LCHlch(42.89, 52.58, 122.67°)
OKLaboklab(49.81% -0.0811 0.0969)
OKLCHoklch(49.81% 0.126 129.9)
XYZxyz(8.7117, 13.0813, 2.5561)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7010 #361070
analogous
#706610 #4A7010 #1A7010
triadic
#4A7010 #104A70 #70104A
tetradic
#4A7010 #107066 #361070 #70101A
square
#4A7010 #107066 #361070 #70101A
split-complementary
#4A7010 #101A70 #661070
monochromatic
#121B04 #273A08 #4A7010 #6DA618 #91DB1F

Accessibility & contrast

On white

5.81
#4A7010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4A7010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7010
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7010#FFFFFF#000000##FFFFFF
##4A70101.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#70641B
Tritanopia (blue-blind)
#4C6B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a7010;
/* rgb */ color: rgb(74, 112, 16);
/* oklch */ color: oklch(49.8% 0.126 129.9);
Tailwind
colors: {
  custom: {
    50: '#819959',
    500: '#4a7010',
    950: '#000000',
  },
}
SCSS
$custom: #4a7010;
$custom-light: #819959;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7010",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 83.75,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4981,
    "c": 0.12641,
    "h": 129.9
  },
  "luminance": 0.13082
}

Semantic roles & 50–950 ramp

primary
#4A7010
secondary
#6234A8
accent
#36F280
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7010

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

Preview Lab → · Contrast checker → · Palette generator →

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