#38530F#38530F

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

Color values

HEX#38530F
RGBrgb(56, 83, 15)
HSLhsl(84, 69%, 19%)
HSVhsv(84, 82%, 33%)
CMYKcmyk(32.5%, 0%, 81.9%, 67.5%)
CIE-LABlab(31.95, -21.72, 34.08)
CIE-LCHlch(31.95, 40.41, 122.51°)
OKLaboklab(40.6% -0.062 0.0758)
OKLCHoklch(40.6% 0.098 129.3)
XYZxyz(4.8104, 7.0616, 1.5614)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38530F #2A0F53
analogous
#534C0F #38530F #16530F
triadic
#38530F #0F3853 #530F38
tetradic
#38530F #0F534C #2A0F53 #530F16
square
#38530F #0F534C #2A0F53 #530F16
split-complementary
#38530F #0F1653 #4C0F53
monochromatic
#111A05 #151F06 #38530F #5B8718 #7EBB22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38530F#FFFFFF#000000##FFFFFF
##38530F1.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)
#574C02
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#3A4F46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38530f;
/* rgb */ color: rgb(56, 83, 15);
/* oklch */ color: oklch(40.6% 0.098 129.3);
Tailwind
colors: {
  custom: {
    50: '#728353',
    500: '#38530f',
    950: '#000000',
  },
}
SCSS
$custom: #38530f;
$custom-light: #728353;
$custom-dark: #000000;
JSON
{
  "hex": "#38530f",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 83.824,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40601,
    "c": 0.09791,
    "h": 129.3
  },
  "luminance": 0.07062
}

Semantic roles & 50–950 ramp

primary
#38530F
secondary
#55318D
accent
#3CEC82
background
#F7F8F4
surface
#EDEFE8
border
#C8CAC4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #38530F

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

Preview Lab → · Contrast checker → · Palette generator →

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