#42530F#42530F

#42530F is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.4% C 0.092 H 123.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#42530F
RGBrgb(66, 83, 15)
HSLhsl(75, 69%, 19%)
HSVhsv(75, 82%, 33%)
CMYKcmyk(20.5%, 0%, 81.9%, 67.5%)
CIE-LABlab(32.66, -17.19, 35.00)
CIE-LCHlch(32.66, 38.99, 116.16°)
OKLaboklab(41.36% -0.0503 0.0774)
OKLCHoklch(41.36% 0.092 123)
XYZxyz(5.4263, 7.3792, 1.5903)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42530F #200F53
analogous
#53420F #42530F #20530F
triadic
#42530F #0F4253 #530F42
tetradic
#42530F #0F5342 #200F53 #530F20
square
#42530F #0F5342 #200F53 #530F20
split-complementary
#42530F #0F2053 #420F53
monochromatic
#151A05 #191F06 #42530F #6B8718 #94BB22

Accessibility & contrast

On white

8.48
#42530F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#42530F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42530F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42530F#FFFFFF#000000##FFFFFF
##42530F1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42530f;
/* rgb */ color: rgb(66, 83, 15);
/* oklch */ color: oklch(41.4% 0.092 123.0);
Tailwind
colors: {
  custom: {
    50: '#798353',
    500: '#42530f',
    950: '#000000',
  },
}
SCSS
$custom: #42530f;
$custom-light: #798353;
$custom-dark: #000000;
JSON
{
  "hex": "#42530f",
  "rgb": {
    "r": 66,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 75,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41359,
    "c": 0.09235,
    "h": 123
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

primary
#42530F
secondary
#48318D
accent
#3CEC68
background
#F7F8F4
surface
#EEEFE8
border
#C9CAC4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #42530F

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

Preview Lab → · Contrast checker → · Palette generator →

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