#40530C#40530C

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

Color values

HEX#40530C
RGBrgb(64, 83, 12)
HSLhsl(76, 75%, 19%)
HSVhsv(76, 86%, 33%)
CMYKcmyk(22.9%, 0%, 85.5%, 67.5%)
CIE-LABlab(32.49, -18.29, 35.87)
CIE-LCHlch(32.49, 40.27, 117.01°)
OKLaboklab(41.18% -0.0535 0.0788)
OKLCHoklch(41.18% 0.095 124.2)
XYZxyz(5.2740, 7.3030, 1.4795)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40530C #1F0C53
analogous
#53420C #40530C #1C530C
triadic
#40530C #0C4053 #530C40
tetradic
#40530C #0C5342 #1F0C53 #530C1C
square
#40530C #0C5342 #1F0C53 #530C1C
split-complementary
#40530C #0C1C53 #420C53
monochromatic
#151B04 #171E04 #40530C #698814 #92BE1B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40530C#FFFFFF#000000##FFFFFF
##40530C1.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)
#584D00
Deuteranopia (green-blind)
#564C13
Tritanopia (blue-blind)
#444E46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #40530c;
/* rgb */ color: rgb(64, 83, 12);
/* oklch */ color: oklch(41.2% 0.095 124.2);
Tailwind
colors: {
  custom: {
    50: '#788352',
    500: '#40530c',
    950: '#000000',
  },
}
SCSS
$custom: #40530c;
$custom-light: #788352;
$custom-dark: #000000;
JSON
{
  "hex": "#40530c",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 12
  },
  "hsl": {
    "h": 76.056,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.41179,
    "c": 0.09519,
    "h": 124.2
  },
  "luminance": 0.07303
}

Semantic roles & 50–950 ramp

primary
#40530C
secondary
#472D8E
accent
#36F168
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #40530C

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

Preview Lab → · Contrast checker → · Palette generator →

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