#38510E#38510E

#38510E is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.0% C 0.096 H 128.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#38510E
RGBrgb(56, 81, 14)
HSLhsl(82, 71%, 19%)
HSVhsv(82, 83%, 32%)
CMYKcmyk(30.9%, 0%, 82.7%, 68.2%)
CIE-LABlab(31.25, -20.75, 33.79)
CIE-LCHlch(31.25, 39.65, 121.55°)
OKLaboklab(40.03% -0.0595 0.075)
OKLCHoklch(40.03% 0.096 128.4)
XYZxyz(4.6526, 6.7572, 1.4745)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38510E #270E51
analogous
#51480E #38510E #16510E
triadic
#38510E #0E3851 #510E38
tetradic
#38510E #0E5148 #270E51 #510E16
square
#38510E #0E5148 #270E51 #510E16
split-complementary
#38510E #0E1651 #480E51
monochromatic
#121A05 #141D05 #38510E #5C8517 #80B920

Accessibility & contrast

On white

8.93
#38510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#38510E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38510E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38510E#FFFFFF#000000##FFFFFF
##38510E1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B02
Deuteranopia (green-blind)
#524915
Tritanopia (blue-blind)
#3A4D44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #38510e;
/* rgb */ color: rgb(56, 81, 14);
/* oklch */ color: oklch(40.0% 0.096 128.4);
Tailwind
colors: {
  custom: {
    50: '#718252',
    500: '#38510e',
    950: '#000000',
  },
}
SCSS
$custom: #38510e;
$custom-light: #718252;
$custom-dark: #000000;
JSON
{
  "hex": "#38510e",
  "rgb": {
    "r": 56,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 82.388,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.4003,
    "c": 0.0957,
    "h": 128.4
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#38510E
secondary
#522F8C
accent
#3AED7D
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #38510E

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

Preview Lab → · Contrast checker → · Palette generator →

#38510E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva