#38631C#38631C

#38631C is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.2% C 0.111 H 135.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#38631C
RGBrgb(56, 99, 28)
HSLhsl(96, 56%, 25%)
HSVhsv(96, 72%, 39%)
CMYKcmyk(43.4%, 0%, 71.7%, 61.2%)
CIE-LABlab(37.57, -28.52, 34.27)
CIE-LCHlch(37.57, 44.59, 129.77°)
OKLaboklab(45.22% -0.0794 0.0783)
OKLCHoklch(45.22% 0.111 135.4)
XYZxyz(6.3022, 9.8479, 2.6672)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38631C #471C63
analogous
#5C631C #38631C #1C6323
triadic
#38631C #1C3863 #631C38
tetradic
#38631C #1C5C63 #471C63 #63231C
square
#38631C #1C5C63 #471C63 #63231C
split-complementary
#38631C #231C63 #631C5C
monochromatic
#0D1807 #1D330F #38631C #539329 #6EC237

Accessibility & contrast

On white

7.07
#38631C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#38631C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38631C
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38631C#FFFFFF#000000##FFFFFF
##38631C1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B12
Deuteranopia (green-blind)
#615722
Tritanopia (blue-blind)
#375F55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #38631c;
/* rgb */ color: rgb(56, 99, 28);
/* oklch */ color: oklch(45.2% 0.111 135.4);
Tailwind
colors: {
  custom: {
    50: '#73905c',
    500: '#38631c',
    950: '#000000',
  },
}
SCSS
$custom: #38631c;
$custom-light: #73905c;
$custom-dark: #000000;
JSON
{
  "hex": "#38631c",
  "rgb": {
    "r": 56,
    "g": 99,
    "b": 28
  },
  "hsl": {
    "h": 96.338,
    "s": 55.906,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4522,
    "c": 0.11149,
    "h": 135.4
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#38631C
secondary
#764398
accent
#49DFA4
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #38631C

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

Preview Lab → · Contrast checker → · Palette generator →

#38631C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva