#42580F#42580F

#42580F is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.7% C 0.099 H 125.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#42580F
RGBrgb(66, 88, 15)
HSLhsl(78, 71%, 20%)
HSVhsv(78, 83%, 35%)
CMYKcmyk(25%, 0%, 83%, 65.5%)
CIE-LABlab(34.34, -19.87, 36.58)
CIE-LCHlch(34.34, 41.63, 118.51°)
OKLaboklab(42.72% -0.0577 0.0808)
OKLCHoklch(42.72% 0.099 125.5)
XYZxyz(5.8228, 8.1721, 1.7225)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42580F #250F58
analogous
#58490F #42580F #1E580F
triadic
#42580F #0F4258 #580F42
tetradic
#42580F #0F5849 #250F58 #580F1E
square
#42580F #0F5849 #250F58 #580F1E
split-complementary
#42580F #0F1E58 #490F58
monochromatic
#141A04 #1B2406 #42580F #698C18 #90C121

Accessibility & contrast

On white

7.97
#42580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#42580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42580F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42580F#FFFFFF#000000##FFFFFF
##42580F1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5200
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#45534A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #42580f;
/* rgb */ color: rgb(66, 88, 15);
/* oklch */ color: oklch(42.7% 0.099 125.5);
Tailwind
colors: {
  custom: {
    50: '#798754',
    500: '#42580f',
    950: '#000000',
  },
}
SCSS
$custom: #42580f;
$custom-light: #798754;
$custom-dark: #000000;
JSON
{
  "hex": "#42580f",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 78.082,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42722,
    "c": 0.09923,
    "h": 125.5
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

primary
#42580F
secondary
#4E3192
accent
#3AEE70
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #42580F

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

Preview Lab → · Contrast checker → · Palette generator →

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