#42741A#42741A

#42741A is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.5% C 0.131 H 134.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#42741A
RGBrgb(66, 116, 26)
HSLhsl(93, 63%, 28%)
HSVhsv(93, 78%, 45%)
CMYKcmyk(43.1%, 0%, 77.6%, 54.5%)
CIE-LABlab(43.83, -32.75, 41.64)
CIE-LCHlch(43.83, 52.98, 128.19°)
OKLaboklab(50.48% -0.0917 0.0933)
OKLCHoklch(50.48% 0.131 134.5)
XYZxyz(8.6784, 13.7232, 3.1686)
Luminance0.1372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42741A #4C1A74
analogous
#6F741A #42741A #1A741F
triadic
#42741A #1A4274 #741A42
tetradic
#42741A #1A6F74 #4C1A74 #741F1A
square
#42741A #1A6F74 #4C1A74 #741F1A
split-complementary
#42741A #1F1A74 #741A6F
monochromatic
#0E1906 #26420F #42741A #5EA625 #7CD236

Accessibility & contrast

On white

5.61
#42741A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#42741A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42741A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42741A#FFFFFF#000000##FFFFFF
##42741A1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A07
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#416F63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #42741a;
/* rgb */ color: rgb(66, 116, 26);
/* oklch */ color: oklch(50.5% 0.131 134.5);
Tailwind
colors: {
  custom: {
    50: '#7b9c5e',
    500: '#42741a',
    950: '#000000',
  },
}
SCSS
$custom: #42741a;
$custom-light: #7b9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#42741a",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 93.333,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50484,
    "c": 0.13078,
    "h": 134.5
  },
  "luminance": 0.13724
}

Semantic roles & 50–950 ramp

primary
#42741A
secondary
#7B41A9
accent
#41E69D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #42741A

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

Preview Lab → · Contrast checker → · Palette generator →

#42741A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva