#38641A#38641A

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

Color values

HEX#38641A
RGBrgb(56, 100, 26)
HSLhsl(96, 59%, 25%)
HSVhsv(96, 74%, 39%)
CMYKcmyk(44%, 0%, 74%, 60.8%)
CIE-LABlab(37.90, -29.16, 35.50)
CIE-LCHlch(37.90, 45.94, 129.40°)
OKLaboklab(45.48% -0.0813 0.0806)
OKLCHoklch(45.48% 0.114 135.3)
XYZxyz(6.3744, 10.0293, 2.5771)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38641A #461A64
analogous
#5D641A #38641A #1A6421
triadic
#38641A #1A3864 #641A38
tetradic
#38641A #1A5D64 #461A64 #64211A
square
#38641A #1A5D64 #461A64 #64211A
split-complementary
#38641A #211A64 #641A5D
monochromatic
#0E1806 #1D330D #38641A #539527 #6EC533

Accessibility & contrast

On white

6.99
#38641A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #38641A
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38641A#FFFFFF#000000##FFFFFF
##38641A1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0E
Deuteranopia (green-blind)
#625821
Tritanopia (blue-blind)
#376055
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #38641a;
/* rgb */ color: rgb(56, 100, 26);
/* oklch */ color: oklch(45.5% 0.114 135.3);
Tailwind
colors: {
  custom: {
    50: '#73905b',
    500: '#38641a',
    950: '#000000',
  },
}
SCSS
$custom: #38641a;
$custom-light: #73905b;
$custom-dark: #000000;
JSON
{
  "hex": "#38641a",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 26
  },
  "hsl": {
    "h": 95.676,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45483,
    "c": 0.11445,
    "h": 135.3
  },
  "luminance": 0.1003
}

Semantic roles & 50–950 ramp

primary
#38641A
secondary
#75409A
accent
#46E2A3
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #38641A

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

Preview Lab → · Contrast checker → · Palette generator →

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