#42580D#42580D

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

Color values

HEX#42580D
RGBrgb(66, 88, 13)
HSLhsl(78, 74%, 20%)
HSVhsv(78, 85%, 35%)
CMYKcmyk(25%, 0%, 85.2%, 65.5%)
CIE-LABlab(34.33, -19.98, 37.27)
CIE-LCHlch(34.33, 42.29, 118.19°)
OKLaboklab(42.71% -0.0581 0.0818)
OKLCHoklch(42.71% 0.1 125.4)
XYZxyz(5.8092, 8.1667, 1.6510)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42580D #230D58
analogous
#58490D #42580D #1D580D
triadic
#42580D #0D4258 #580D42
tetradic
#42580D #0D5849 #230D58 #580D1D
square
#42580D #0D5849 #230D58 #580D1D
split-complementary
#42580D #0D1D58 #490D58
monochromatic
#141B04 #1A2305 #42580D #6A8D15 #92C31D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42580D#FFFFFF#000000##FFFFFF
##42580D1.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)
#5A5015
Tritanopia (blue-blind)
#45534A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #42580d;
/* rgb */ color: rgb(66, 88, 13);
/* oklch */ color: oklch(42.7% 0.100 125.4);
Tailwind
colors: {
  custom: {
    50: '#798753',
    500: '#42580d',
    950: '#000000',
  },
}
SCSS
$custom: #42580d;
$custom-light: #798753;
$custom-dark: #000000;
JSON
{
  "hex": "#42580d",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 77.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42709,
    "c": 0.10037,
    "h": 125.4
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#42580D
secondary
#4C2E93
accent
#37F16D
background
#F7F8F5
surface
#EEEFE8
border
#C9CAC4
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #42580D

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

Preview Lab → · Contrast checker → · Palette generator →

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