#42701E#42701E

#42701E is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.4% C 0.123 H 134.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#42701E
RGBrgb(66, 112, 30)
HSLhsl(94, 58%, 28%)
HSVhsv(94, 73%, 44%)
CMYKcmyk(41.1%, 0%, 73.2%, 56.1%)
CIE-LABlab(42.52, -30.64, 38.73)
CIE-LCHlch(42.52, 49.38, 128.35°)
OKLaboklab(49.42% -0.0857 0.0878)
OKLCHoklch(49.42% 0.123 134.3)
XYZxyz(8.2751, 12.8399, 3.2704)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42701E #4C1E70
analogous
#6B701E #42701E #1E7023
triadic
#42701E #1E4270 #701E42
tetradic
#42701E #1E6B70 #4C1E70 #70231E
square
#42701E #1E6B70 #4C1E70 #70231E
split-complementary
#42701E #231E70 #701E6B
monochromatic
#0E1806 #264011 #42701E #5EA02B #7CCB3D

Accessibility & contrast

On white

5.89
#42701E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#42701E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42701E
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42701E#FFFFFF#000000##FFFFFF
##42701E1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746711
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#416B60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #42701e;
/* rgb */ color: rgb(66, 112, 30);
/* oklch */ color: oklch(49.4% 0.123 134.3);
Tailwind
colors: {
  custom: {
    50: '#7b995f',
    500: '#42701e',
    950: '#000000',
  },
}
SCSS
$custom: #42701e;
$custom-light: #7b995f;
$custom-dark: #000000;
JSON
{
  "hex": "#42701e",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 93.659,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.12266,
    "h": 134.3
  },
  "luminance": 0.1284
}

Semantic roles & 50–950 ramp

primary
#42701E
secondary
#7B46A4
accent
#47E19D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #42701E

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

Preview Lab → · Contrast checker → · Palette generator →

#42701E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva