#38551A#38551A

#38551A is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.3% C 0.092 H 131.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#38551A
RGBrgb(56, 85, 26)
HSLhsl(89, 53%, 22%)
HSVhsv(89, 69%, 33%)
CMYKcmyk(34.1%, 0%, 69.4%, 66.7%)
CIE-LABlab(32.73, -21.87, 30.03)
CIE-LCHlch(32.73, 37.15, 126.06°)
OKLaboklab(41.26% -0.0614 0.0691)
OKLCHoklch(41.26% 0.092 131.6)
XYZxyz(5.0658, 7.4122, 2.1409)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38551A #371A55
analogous
#55551A #38551A #1A551A
triadic
#38551A #1A3855 #551A38
tetradic
#38551A #1A5555 #371A55 #551A1A
square
#38551A #1A5555 #371A55 #551A1A
split-complementary
#38551A #1A1A55 #551A55
monochromatic
#0F1707 #19260C #38551A #578428 #76B337

Accessibility & contrast

On white

8.46
#38551A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#38551A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38551A
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38551A#FFFFFF#000000##FFFFFF
##38551A1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E13
Deuteranopia (green-blind)
#554C1F
Tritanopia (blue-blind)
#395149
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #38551a;
/* rgb */ color: rgb(56, 85, 26);
/* oklch */ color: oklch(41.3% 0.092 131.6);
Tailwind
colors: {
  custom: {
    50: '#71855a',
    500: '#38551a',
    950: '#000000',
  },
}
SCSS
$custom: #38551a;
$custom-light: #71855a;
$custom-dark: #000000;
JSON
{
  "hex": "#38551a",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 26
  },
  "hsl": {
    "h": 89.492,
    "s": 53.153,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41264,
    "c": 0.09242,
    "h": 131.6
  },
  "luminance": 0.07412
}

Semantic roles & 50–950 ramp

primary
#38551A
secondary
#65408B
accent
#4BDD93
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38551A

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

Preview Lab → · Contrast checker → · Palette generator →

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