#38500F#38500F

#38500F is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.8% C 0.094 H 128.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#38500F
RGBrgb(56, 80, 15)
HSLhsl(82, 68%, 19%)
HSVhsv(82, 81%, 31%)
CMYKcmyk(30%, 0%, 81.3%, 68.6%)
CIE-LABlab(30.91, -20.17, 33.07)
CIE-LCHlch(30.91, 38.74, 121.37°)
OKLaboklab(39.76% -0.0578 0.0737)
OKLCHoklch(39.76% 0.094 128.1)
XYZxyz(4.5858, 6.6125, 1.4866)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38500F #270F50
analogous
#50470F #38500F #17500F
triadic
#38500F #0F3850 #500F38
tetradic
#38500F #0F5047 #270F50 #500F17
square
#38500F #0F5047 #270F50 #500F17
split-complementary
#38500F #0F1750 #470F50
monochromatic
#121A05 #141C05 #38500F #5C8419 #80B722

Accessibility & contrast

On white

9.04
#38500F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#38500F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38500F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38500F#FFFFFF#000000##FFFFFF
##38500F1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A03
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#3A4C44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #38500f;
/* rgb */ color: rgb(56, 80, 15);
/* oklch */ color: oklch(39.8% 0.094 128.1);
Tailwind
colors: {
  custom: {
    50: '#718153',
    500: '#38500f',
    950: '#000000',
  },
}
SCSS
$custom: #38500f;
$custom-light: #718153;
$custom-dark: #000000;
JSON
{
  "hex": "#38500f",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 82.154,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39756,
    "c": 0.09363,
    "h": 128.1
  },
  "luminance": 0.06613
}

Semantic roles & 50–950 ramp

primary
#38500F
secondary
#52318A
accent
#3DEB7D
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #38500F

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

Preview Lab → · Contrast checker → · Palette generator →

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