#42701D#42701D

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

Color values

HEX#42701D
RGBrgb(66, 112, 29)
HSLhsl(93, 59%, 28%)
HSVhsv(93, 74%, 44%)
CMYKcmyk(41.1%, 0%, 74.1%, 56.1%)
CIE-LABlab(42.51, -30.72, 39.14)
CIE-LCHlch(42.51, 49.75, 128.13°)
OKLaboklab(49.41% -0.086 0.0885)
OKLCHoklch(49.41% 0.123 134.2)
XYZxyz(8.2626, 12.8349, 3.2042)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42701D #4B1D70
analogous
#6B701D #42701D #1D7022
triadic
#42701D #1D4270 #701D42
tetradic
#42701D #1D6B70 #4B1D70 #70221D
square
#42701D #1D6B70 #4B1D70 #70221D
split-complementary
#42701D #221D70 #701D6B
monochromatic
#0E1806 #253F10 #42701D #5FA12A #7CCC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42701D#FFFFFF#000000##FFFFFF
##42701D1.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)
#75670F
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#426B60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #42701d;
/* rgb */ color: rgb(66, 112, 29);
/* oklch */ color: oklch(49.4% 0.123 134.2);
Tailwind
colors: {
  custom: {
    50: '#7b995f',
    500: '#42701d',
    950: '#000000',
  },
}
SCSS
$custom: #42701d;
$custom-light: #7b995f;
$custom-dark: #000000;
JSON
{
  "hex": "#42701d",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 93.253,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49411,
    "c": 0.12336,
    "h": 134.2
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

primary
#42701D
secondary
#7A44A4
accent
#46E29C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #42701D

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

Preview Lab → · Contrast checker → · Palette generator →

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