#38651A#38651A

#38651A is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 45.8% C 0.116 H 135.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#38651A
RGBrgb(56, 101, 26)
HSLhsl(96, 59%, 25%)
HSVhsv(96, 74%, 40%)
CMYKcmyk(44.6%, 0%, 74.3%, 60.4%)
CIE-LABlab(38.24, -29.62, 35.85)
CIE-LCHlch(38.24, 46.51, 129.56°)
OKLaboklab(45.76% -0.0825 0.0813)
OKLCHoklch(45.76% 0.116 135.4)
XYZxyz(6.4709, 10.2223, 2.6092)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38651A #471A65
analogous
#5E651A #38651A #1A6522
triadic
#38651A #1A3865 #651A38
tetradic
#38651A #1A5E65 #471A65 #65221A
square
#38651A #1A5E65 #471A65 #65221A
split-complementary
#38651A #221A65 #651A5E
monochromatic
#0D1806 #1D340D #38651A #539627 #6EC633

Accessibility & contrast

On white

6.90
#38651A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#38651A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38651A
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38651A#FFFFFF#000000##FFFFFF
##38651A1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0E
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#376156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #38651a;
/* rgb */ color: rgb(56, 101, 26);
/* oklch */ color: oklch(45.8% 0.116 135.4);
Tailwind
colors: {
  custom: {
    50: '#73915b',
    500: '#38651a',
    950: '#000000',
  },
}
SCSS
$custom: #38651a;
$custom-light: #73915b;
$custom-dark: #000000;
JSON
{
  "hex": "#38651a",
  "rgb": {
    "r": 56,
    "g": 101,
    "b": 26
  },
  "hsl": {
    "h": 96,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45764,
    "c": 0.11586,
    "h": 135.4
  },
  "luminance": 0.10223
}

Semantic roles & 50–950 ramp

primary
#38651A
secondary
#76409B
accent
#46E2A4
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D04
muted
#7B7D79

Preview Lab

Preview with #38651A

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

Preview Lab → · Contrast checker → · Palette generator →

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