#38641F#38641F

#38641F is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.5% C 0.111 H 136.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#38641F
RGBrgb(56, 100, 31)
HSLhsl(98, 53%, 26%)
HSVhsv(98, 69%, 39%)
CMYKcmyk(44%, 0%, 69%, 60.8%)
CIE-LABlab(37.94, -28.71, 33.29)
CIE-LCHlch(37.94, 43.96, 130.77°)
OKLaboklab(45.53% -0.0796 0.0766)
OKLCHoklch(45.53% 0.111 136.1)
XYZxyz(6.4352, 10.0537, 2.8975)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38641F #4B1F64
analogous
#5A641F #38641F #1F6428
triadic
#38641F #1F3864 #641F38
tetradic
#38641F #1F5A64 #4B1F64 #64281F
square
#38641F #1F5A64 #4B1F64 #64281F
split-complementary
#38641F #281F64 #641F5A
monochromatic
#0D1707 #1E3511 #38641F #52932D #6CC13C

Accessibility & contrast

On white

6.97
#38641F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#38641F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38641F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38641F#FFFFFF#000000##FFFFFF
##38641F1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C16
Deuteranopia (green-blind)
#625825
Tritanopia (blue-blind)
#366056
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #38641f;
/* rgb */ color: rgb(56, 100, 31);
/* oklch */ color: oklch(45.5% 0.111 136.1);
Tailwind
colors: {
  custom: {
    50: '#72905e',
    500: '#38641f',
    950: '#000000',
  },
}
SCSS
$custom: #38641f;
$custom-light: #72905e;
$custom-dark: #000000;
JSON
{
  "hex": "#38641f",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 98.261,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45532,
    "c": 0.11051,
    "h": 136.1
  },
  "luminance": 0.10054
}

Semantic roles & 50–950 ramp

primary
#38641F
secondary
#7B4698
accent
#4CDCA8
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #38641F

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

Preview Lab → · Contrast checker → · Palette generator →

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