#40530F#40530F

#40530F is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.2% C 0.093 H 124.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#40530F
RGBrgb(64, 83, 15)
HSLhsl(77, 69%, 19%)
HSVhsv(77, 82%, 33%)
CMYKcmyk(22.9%, 0%, 81.9%, 67.5%)
CIE-LABlab(32.50, -18.12, 34.80)
CIE-LCHlch(32.50, 39.24, 117.51°)
OKLaboklab(41.2% -0.0528 0.0771)
OKLCHoklch(41.2% 0.093 124.4)
XYZxyz(5.2939, 7.3109, 1.5841)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40530F #220F53
analogous
#53440F #40530F #1E530F
triadic
#40530F #0F4053 #530F40
tetradic
#40530F #0F5344 #220F53 #530F1E
square
#40530F #0F5344 #220F53 #530F1E
split-complementary
#40530F #0F1E53 #440F53
monochromatic
#141A05 #181F06 #40530F #688718 #90BB22

Accessibility & contrast

On white

8.53
#40530F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#40530F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40530F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40530F#FFFFFF#000000##FFFFFF
##40530F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D02
Deuteranopia (green-blind)
#564C15
Tritanopia (blue-blind)
#434F46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #40530f;
/* rgb */ color: rgb(64, 83, 15);
/* oklch */ color: oklch(41.2% 0.093 124.4);
Tailwind
colors: {
  custom: {
    50: '#778353',
    500: '#40530f',
    950: '#000000',
  },
}
SCSS
$custom: #40530f;
$custom-light: #778353;
$custom-dark: #000000;
JSON
{
  "hex": "#40530f",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 76.765,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41199,
    "c": 0.0934,
    "h": 124.4
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#40530F
secondary
#4B318D
accent
#3CEC6D
background
#F7F8F4
surface
#EDEFE8
border
#C8CAC4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #40530F

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

Preview Lab → · Contrast checker → · Palette generator →

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