#38501A#38501A

#38501A is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.9% C 0.085 H 129.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#38501A
RGBrgb(56, 80, 26)
HSLhsl(87, 51%, 21%)
HSVhsv(87, 68%, 31%)
CMYKcmyk(30%, 0%, 67.5%, 68.6%)
CIE-LABlab(31.00, -19.26, 28.14)
CIE-LCHlch(31.00, 34.10, 124.38°)
OKLaboklab(39.86% -0.0542 0.0651)
OKLCHoklch(39.86% 0.085 129.8)
XYZxyz(4.6860, 6.6525, 2.0143)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38501A #321A50
analogous
#504D1A #38501A #1D501A
triadic
#38501A #1A3850 #501A38
tetradic
#38501A #1A504D #321A50 #501A1D
square
#38501A #1A504D #321A50 #501A1D
split-complementary
#38501A #1A1D50 #4D1A50
monochromatic
#101708 #18220B #38501A #587E29 #79AC38

Accessibility & contrast

On white

9.01
#38501A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#38501A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38501A
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38501A#FFFFFF#000000##FFFFFF
##38501A1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A14
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#3A4C45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #38501a;
/* rgb */ color: rgb(56, 80, 26);
/* oklch */ color: oklch(39.9% 0.085 129.8);
Tailwind
colors: {
  custom: {
    50: '#718159',
    500: '#38501a',
    950: '#000000',
  },
}
SCSS
$custom: #38501a;
$custom-light: #718159;
$custom-dark: #000000;
JSON
{
  "hex": "#38501a",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 26
  },
  "hsl": {
    "h": 86.667,
    "s": 50.943,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39863,
    "c": 0.08471,
    "h": 129.8
  },
  "luminance": 0.06653
}

Semantic roles & 50–950 ramp

primary
#38501A
secondary
#5F4086
accent
#4DDA8C
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #38501A

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

Preview Lab → · Contrast checker → · Palette generator →

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