#38510F#38510F

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

Color values

HEX#38510F
RGBrgb(56, 81, 15)
HSLhsl(83, 69%, 19%)
HSVhsv(83, 81%, 32%)
CMYKcmyk(30.9%, 0%, 81.5%, 68.2%)
CIE-LABlab(31.25, -20.69, 33.41)
CIE-LCHlch(31.25, 39.30, 121.77°)
OKLaboklab(40.04% -0.0592 0.0744)
OKLCHoklch(40.04% 0.095 128.5)
XYZxyz(4.6595, 6.7600, 1.5112)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38510F #280F51
analogous
#51490F #38510F #17510F
triadic
#38510F #0F3851 #510F38
tetradic
#38510F #0F5149 #280F51 #510F17
square
#38510F #0F5149 #280F51 #510F17
split-complementary
#38510F #0F1751 #490F51
monochromatic
#121A05 #141D05 #38510F #5C8519 #7FB822

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38510F#FFFFFF#000000##FFFFFF
##38510F1.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)
#554B03
Deuteranopia (green-blind)
#524915
Tritanopia (blue-blind)
#3A4D44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #38510f;
/* rgb */ color: rgb(56, 81, 15);
/* oklch */ color: oklch(40.0% 0.095 128.5);
Tailwind
colors: {
  custom: {
    50: '#718253',
    500: '#38510f',
    950: '#000000',
  },
}
SCSS
$custom: #38510f;
$custom-light: #718253;
$custom-dark: #000000;
JSON
{
  "hex": "#38510f",
  "rgb": {
    "r": 56,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 82.727,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40037,
    "c": 0.09506,
    "h": 128.5
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#38510F
secondary
#53318B
accent
#3CEC7F
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #38510F

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

Preview Lab → · Contrast checker → · Palette generator →

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