#38661F#38661F

#38661F is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.1% C 0.113 H 136.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#38661F
RGBrgb(56, 102, 31)
HSLhsl(99, 53%, 26%)
HSVhsv(99, 70%, 40%)
CMYKcmyk(45.1%, 0%, 69.6%, 60%)
CIE-LABlab(38.62, -29.63, 34.03)
CIE-LCHlch(38.62, 45.12, 131.05°)
OKLaboklab(46.09% -0.0821 0.0782)
OKLCHoklch(46.09% 0.113 136.4)
XYZxyz(6.6294, 10.4420, 2.9623)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38661F #4D1F66
analogous
#5B661F #38661F #1F6629
triadic
#38661F #1F3866 #661F38
tetradic
#38661F #1F5B66 #4D1F66 #66291F
square
#38661F #1F5B66 #4D1F66 #66291F
split-complementary
#38661F #291F66 #661F5B
monochromatic
#0D1707 #1E3711 #38661F #52952D #6CC43C

Accessibility & contrast

On white

6.80
#38661F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#38661F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38661F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38661F#FFFFFF#000000##FFFFFF
##38661F1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D16
Deuteranopia (green-blind)
#635A25
Tritanopia (blue-blind)
#366257
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #38661f;
/* rgb */ color: rgb(56, 102, 31);
/* oklch */ color: oklch(46.1% 0.113 136.4);
Tailwind
colors: {
  custom: {
    50: '#73925e',
    500: '#38661f',
    950: '#000000',
  },
}
SCSS
$custom: #38661f;
$custom-light: #73925e;
$custom-dark: #000000;
JSON
{
  "hex": "#38661f",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 98.873,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46094,
    "c": 0.11341,
    "h": 136.4
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#38661F
secondary
#7D469A
accent
#4BDDA9
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #38661F

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

Preview Lab → · Contrast checker → · Palette generator →

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