#42530D#42530D

#42530D is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.3% C 0.094 H 122.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#42530D
RGBrgb(66, 83, 13)
HSLhsl(75, 73%, 19%)
HSVhsv(75, 84%, 33%)
CMYKcmyk(20.5%, 0%, 84.3%, 67.5%)
CIE-LABlab(32.64, -17.30, 35.72)
CIE-LCHlch(32.64, 39.69, 115.84°)
OKLaboklab(41.35% -0.0508 0.0786)
OKLCHoklch(41.35% 0.094 122.9)
XYZxyz(5.4127, 7.3738, 1.5188)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42530D #1E0D53
analogous
#53410D #42530D #1F530D
triadic
#42530D #0D4253 #530D42
tetradic
#42530D #0D5341 #1E0D53 #530D1F
square
#42530D #0D5341 #1E0D53 #530D1F
split-complementary
#42530D #0D1F53 #410D53
monochromatic
#151A04 #181E05 #42530D #6C8815 #96BD1E

Accessibility & contrast

On white

8.49
#42530D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#42530D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42530D
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42530D#FFFFFF#000000##FFFFFF
##42530D1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D00
Deuteranopia (green-blind)
#564D14
Tritanopia (blue-blind)
#464E46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #42530d;
/* rgb */ color: rgb(66, 83, 13);
/* oklch */ color: oklch(41.3% 0.094 122.9);
Tailwind
colors: {
  custom: {
    50: '#798353',
    500: '#42530d',
    950: '#000000',
  },
}
SCSS
$custom: #42530d;
$custom-light: #798353;
$custom-dark: #000000;
JSON
{
  "hex": "#42530d",
  "rgb": {
    "r": 66,
    "g": 83,
    "b": 13
  },
  "hsl": {
    "h": 74.571,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41346,
    "c": 0.09357,
    "h": 122.9
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#42530D
secondary
#452E8E
accent
#38F065
background
#F7F8F4
surface
#EEEFE7
border
#C9CAC3
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #42530D

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

Preview Lab → · Contrast checker → · Palette generator →

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