#38530C#38530C

#38530C is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.6% C 0.100 H 129.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#38530C
RGBrgb(56, 83, 12)
HSLhsl(83, 75%, 19%)
HSVhsv(83, 86%, 33%)
CMYKcmyk(32.5%, 0%, 85.5%, 67.5%)
CIE-LABlab(31.93, -21.90, 35.15)
CIE-LCHlch(31.93, 41.42, 121.92°)
OKLaboklab(40.58% -0.0627 0.0775)
OKLCHoklch(40.58% 0.1 129)
XYZxyz(4.7905, 7.0537, 1.4569)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38530C #270C53
analogous
#534A0C #38530C #14530C
triadic
#38530C #0C3853 #530C38
tetradic
#38530C #0C534A #270C53 #530C14
square
#38530C #0C534A #270C53 #530C14
split-complementary
#38530C #0C1453 #4A0C53
monochromatic
#121B04 #141E04 #38530C #5C8814 #80BE1B

Accessibility & contrast

On white

8.71
#38530C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#38530C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38530C
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38530C#FFFFFF#000000##FFFFFF
##38530C1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#3A4F46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38530c;
/* rgb */ color: rgb(56, 83, 12);
/* oklch */ color: oklch(40.6% 0.100 129.0);
Tailwind
colors: {
  custom: {
    50: '#728352',
    500: '#38530c',
    950: '#000000',
  },
}
SCSS
$custom: #38530c;
$custom-light: #728352;
$custom-dark: #000000;
JSON
{
  "hex": "#38530c",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 12
  },
  "hsl": {
    "h": 82.817,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.4058,
    "c": 0.0997,
    "h": 129
  },
  "luminance": 0.07054
}

Semantic roles & 50–950 ramp

primary
#38530C
secondary
#522D8E
accent
#36F17E
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #38530C

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

Preview Lab → · Contrast checker → · Palette generator →

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