#4B7010#4B7010

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

Color values

HEX#4B7010
RGBrgb(75, 112, 16)
HSLhsl(83, 75%, 25%)
HSVhsv(83, 86%, 44%)
CMYKcmyk(33%, 0%, 85.7%, 56.1%)
CIE-LABlab(42.95, -27.97, 44.34)
CIE-LCHlch(42.95, 52.42, 122.25°)
OKLaboklab(49.88% -0.0801 0.0971)
OKLCHoklch(49.88% 0.126 129.5)
XYZxyz(8.7893, 13.1213, 2.5597)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7010 #351070
analogous
#706510 #4B7010 #1B7010
triadic
#4B7010 #104B70 #70104B
tetradic
#4B7010 #107065 #351070 #70101B
square
#4B7010 #107065 #351070 #70101B
split-complementary
#4B7010 #101B70 #651070
monochromatic
#121B04 #273A08 #4B7010 #6FA618 #93DB1F

Accessibility & contrast

On white

5.79
#4B7010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4B7010
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7010#FFFFFF#000000##FFFFFF
##4B70101.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b7010;
/* rgb */ color: rgb(75, 112, 16);
/* oklch */ color: oklch(49.9% 0.126 129.5);
Tailwind
colors: {
  custom: {
    50: '#819959',
    500: '#4b7010',
    950: '#000000',
  },
}
SCSS
$custom: #4b7010;
$custom-light: #819959;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7010",
  "rgb": {
    "r": 75,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 83.125,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49875,
    "c": 0.12585,
    "h": 129.5
  },
  "luminance": 0.13122
}

Semantic roles & 50–950 ramp

primary
#4B7010
secondary
#6134A8
accent
#36F27E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7010

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

Preview Lab → · Contrast checker → · Palette generator →

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