#42570F#42570F

#42570F is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.4% C 0.098 H 125.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#42570F
RGBrgb(66, 87, 15)
HSLhsl(78, 71%, 20%)
HSVhsv(78, 83%, 34%)
CMYKcmyk(24.1%, 0%, 82.8%, 65.9%)
CIE-LABlab(34.00, -19.34, 36.27)
CIE-LCHlch(34.00, 41.10, 118.07°)
OKLaboklab(42.45% -0.0562 0.0801)
OKLCHoklch(42.45% 0.098 125.1)
XYZxyz(5.7412, 8.0091, 1.6953)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42570F #240F57
analogous
#57480F #42570F #1E570F
triadic
#42570F #0F4257 #570F42
tetradic
#42570F #0F5748 #240F57 #570F1E
square
#42570F #0F5748 #240F57 #570F1E
split-complementary
#42570F #0F1E57 #480F57
monochromatic
#141A05 #1A2306 #42570F #6A8B18 #91BF21

Accessibility & contrast

On white

8.07
#42570F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#42570F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42570F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42570F#FFFFFF#000000##FFFFFF
##42570F1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5101
Deuteranopia (green-blind)
#595016
Tritanopia (blue-blind)
#45524A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #42570f;
/* rgb */ color: rgb(66, 87, 15);
/* oklch */ color: oklch(42.4% 0.098 125.1);
Tailwind
colors: {
  custom: {
    50: '#798654',
    500: '#42570f',
    950: '#000000',
  },
}
SCSS
$custom: #42570f;
$custom-light: #798654;
$custom-dark: #000000;
JSON
{
  "hex": "#42570f",
  "rgb": {
    "r": 66,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 77.5,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.42449,
    "c": 0.09786,
    "h": 125.1
  },
  "luminance": 0.08009
}

Semantic roles & 50–950 ramp

primary
#42570F
secondary
#4D3191
accent
#3AED6F
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #42570F

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

Preview Lab → · Contrast checker → · Palette generator →

#42570F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva