#38641E#38641E

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

Color values

HEX#38641E
RGBrgb(56, 100, 30)
HSLhsl(98, 54%, 25%)
HSVhsv(98, 70%, 39%)
CMYKcmyk(44%, 0%, 70%, 60.8%)
CIE-LABlab(37.93, -28.80, 33.74)
CIE-LCHlch(37.93, 44.37, 130.48°)
OKLaboklab(45.52% -0.08 0.0775)
OKLCHoklch(45.52% 0.111 135.9)
XYZxyz(6.4222, 10.0485, 2.8292)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38641E #4A1E64
analogous
#5B641E #38641E #1E6427
triadic
#38641E #1E3864 #641E38
tetradic
#38641E #1E5B64 #4A1E64 #64271E
square
#38641E #1E5B64 #4A1E64 #64271E
split-complementary
#38641E #271E64 #641E5B
monochromatic
#0D1807 #1E3510 #38641E #52932C #6DC23A

Accessibility & contrast

On white

6.98
#38641E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #38641E
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38641E#FFFFFF#000000##FFFFFF
##38641E1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C15
Deuteranopia (green-blind)
#625824
Tritanopia (blue-blind)
#376056
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #38641e;
/* rgb */ color: rgb(56, 100, 30);
/* oklch */ color: oklch(45.5% 0.111 135.9);
Tailwind
colors: {
  custom: {
    50: '#73905e',
    500: '#38641e',
    950: '#000000',
  },
}
SCSS
$custom: #38641e;
$custom-light: #73905e;
$custom-dark: #000000;
JSON
{
  "hex": "#38641e",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 30
  },
  "hsl": {
    "h": 97.714,
    "s": 53.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45522,
    "c": 0.11133,
    "h": 135.9
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#38641E
secondary
#7A4599
accent
#4BDDA7
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #38641E

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

Preview Lab → · Contrast checker → · Palette generator →

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