#40530E#40530E

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

Color values

HEX#40530E
RGBrgb(64, 83, 14)
HSLhsl(77, 71%, 19%)
HSVhsv(77, 83%, 33%)
CMYKcmyk(22.9%, 0%, 83.1%, 67.5%)
CIE-LABlab(32.50, -18.18, 35.17)
CIE-LCHlch(32.50, 39.59, 117.33°)
OKLaboklab(41.19% -0.053 0.0777)
OKLCHoklch(41.19% 0.094 124.3)
XYZxyz(5.2869, 7.3082, 1.5475)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40530E #210E53
analogous
#53440E #40530E #1E530E
triadic
#40530E #0E4053 #530E40
tetradic
#40530E #0E5344 #210E53 #530E1E
square
#40530E #0E5344 #210E53 #530E1E
split-complementary
#40530E #0E1E53 #440E53
monochromatic
#141A04 #181F05 #40530E #688717 #91BC20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40530E#FFFFFF#000000##FFFFFF
##40530E1.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)
#584D01
Deuteranopia (green-blind)
#564C15
Tritanopia (blue-blind)
#434E46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #40530e;
/* rgb */ color: rgb(64, 83, 14);
/* oklch */ color: oklch(41.2% 0.094 124.3);
Tailwind
colors: {
  custom: {
    50: '#778353',
    500: '#40530e',
    950: '#000000',
  },
}
SCSS
$custom: #40530e;
$custom-light: #778353;
$custom-dark: #000000;
JSON
{
  "hex": "#40530e",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 14
  },
  "hsl": {
    "h": 76.522,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41192,
    "c": 0.09402,
    "h": 124.3
  },
  "luminance": 0.07308
}

Semantic roles & 50–950 ramp

primary
#40530E
secondary
#492F8D
accent
#3AEE6B
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #40530E

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

Preview Lab → · Contrast checker → · Palette generator →

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