#38550C#38550C

#38550C is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.1% C 0.102 H 129.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#38550C
RGBrgb(56, 85, 12)
HSLhsl(84, 75%, 19%)
HSVhsv(84, 86%, 33%)
CMYKcmyk(34.1%, 0%, 85.9%, 66.7%)
CIE-LABlab(32.62, -22.91, 35.79)
CIE-LCHlch(32.62, 42.50, 122.62°)
OKLaboklab(41.15% -0.0655 0.0788)
OKLCHoklch(41.15% 0.102 129.7)
XYZxyz(4.9457, 7.3641, 1.5086)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38550C #290C55
analogous
#554E0C #38550C #13550C
triadic
#38550C #0C3855 #550C38
tetradic
#38550C #0C554E #290C55 #550C13
square
#38550C #0C554E #290C55 #550C13
split-complementary
#38550C #0C1355 #4E0C55
monochromatic
#121B04 #151F04 #38550C #5B8B14 #7FC01B

Accessibility & contrast

On white

8.49
#38550C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#38550C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38550C
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38550C#FFFFFF#000000##FFFFFF
##38550C1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#3A5148
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #38550c;
/* rgb */ color: rgb(56, 85, 12);
/* oklch */ color: oklch(41.1% 0.102 129.7);
Tailwind
colors: {
  custom: {
    50: '#728552',
    500: '#38550c',
    950: '#000000',
  },
}
SCSS
$custom: #38550c;
$custom-light: #728552;
$custom-dark: #000000;
JSON
{
  "hex": "#38550c",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 12
  },
  "hsl": {
    "h": 83.836,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41145,
    "c": 0.10249,
    "h": 129.7
  },
  "luminance": 0.07364
}

Semantic roles & 50–950 ramp

primary
#38550C
secondary
#542D90
accent
#36F281
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#080B02
muted
#7B7C78

Preview Lab

Preview with #38550C

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

Preview Lab → · Contrast checker → · Palette generator →

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