#38531A#38531A

#38531A is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.7% C 0.089 H 131.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#38531A
RGBrgb(56, 83, 26)
HSLhsl(88, 52%, 21%)
HSVhsv(88, 69%, 33%)
CMYKcmyk(32.5%, 0%, 68.7%, 67.5%)
CIE-LABlab(32.04, -20.83, 29.28)
CIE-LCHlch(32.04, 35.94, 125.43°)
OKLaboklab(40.7% -0.0586 0.0675)
OKLCHoklch(40.7% 0.089 131)
XYZxyz(4.9105, 7.1017, 2.0891)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38531A #351A53
analogous
#53521A #38531A #1C531A
triadic
#38531A #1A3853 #531A38
tetradic
#38531A #1A5352 #351A53 #531A1C
square
#38531A #1A5352 #351A53 #531A1C
split-complementary
#38531A #1A1C53 #521A53
monochromatic
#101707 #19240B #38531A #578229 #77B037

Accessibility & contrast

On white

8.68
#38531A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#38531A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38531A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38531A#FFFFFF#000000##FFFFFF
##38531A1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D13
Deuteranopia (green-blind)
#534B1E
Tritanopia (blue-blind)
#394F47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38531a;
/* rgb */ color: rgb(56, 83, 26);
/* oklch */ color: oklch(40.7% 0.089 131.0);
Tailwind
colors: {
  custom: {
    50: '#718359',
    500: '#38531a',
    950: '#000000',
  },
}
SCSS
$custom: #38531a;
$custom-light: #718359;
$custom-dark: #000000;
JSON
{
  "hex": "#38531a",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 26
  },
  "hsl": {
    "h": 88.421,
    "s": 52.294,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40703,
    "c": 0.08935,
    "h": 131
  },
  "luminance": 0.07102
}

Semantic roles & 50–950 ramp

primary
#38531A
secondary
#624089
accent
#4CDC90
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #38531A

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

Preview Lab → · Contrast checker → · Palette generator →

#38531A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva