#38631A#38631A

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

Color values

HEX#38631A
RGBrgb(56, 99, 26)
HSLhsl(95, 58%, 25%)
HSVhsv(95, 74%, 39%)
CMYKcmyk(43.4%, 0%, 73.7%, 61.2%)
CIE-LABlab(37.55, -28.70, 35.14)
CIE-LCHlch(37.55, 45.37, 129.24°)
OKLaboklab(45.2% -0.08 0.0798)
OKLCHoklch(45.2% 0.113 135.1)
XYZxyz(6.2790, 9.8387, 2.5453)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38631A #451A63
analogous
#5D631A #38631A #1A6320
triadic
#38631A #1A3863 #631A38
tetradic
#38631A #1A5D63 #451A63 #63201A
square
#38631A #1A5D63 #451A63 #63201A
split-complementary
#38631A #201A63 #631A5D
monochromatic
#0E1806 #1D330D #38631A #539327 #6FC433

Accessibility & contrast

On white

7.08
#38631A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38631A
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38631A#FFFFFF#000000##FFFFFF
##38631A1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0F
Deuteranopia (green-blind)
#615721
Tritanopia (blue-blind)
#375F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #38631a;
/* rgb */ color: rgb(56, 99, 26);
/* oklch */ color: oklch(45.2% 0.113 135.1);
Tailwind
colors: {
  custom: {
    50: '#73905b',
    500: '#38631a',
    950: '#000000',
  },
}
SCSS
$custom: #38631a;
$custom-light: #73905b;
$custom-dark: #000000;
JSON
{
  "hex": "#38631a",
  "rgb": {
    "r": 56,
    "g": 99,
    "b": 26
  },
  "hsl": {
    "h": 95.342,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45201,
    "c": 0.11302,
    "h": 135.1
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#38631A
secondary
#744099
accent
#46E2A2
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #38631A

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

Preview Lab → · Contrast checker → · Palette generator →

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