#38450F#38450F

#38450F is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.7% C 0.078 H 122.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#38450F
RGBrgb(56, 69, 15)
HSLhsl(74, 64%, 16%)
HSVhsv(74, 78%, 27%)
CMYKcmyk(18.8%, 0%, 78.3%, 72.9%)
CIE-LABlab(27.11, -14.16, 29.33)
CIE-LCHlch(27.11, 32.57, 115.77°)
OKLaboklab(36.68% -0.0413 0.0658)
OKLCHoklch(36.68% 0.078 122.1)
XYZxyz(3.8453, 5.1315, 1.2397)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38450F #1C0F45
analogous
#45370F #38450F #1D450F
triadic
#38450F #0F3845 #450F38
tetradic
#38450F #0F4537 #1C0F45 #450F1D
square
#38450F #0F4537 #1C0F45 #450F1D
split-complementary
#38450F #0F1D45 #370F45
monochromatic
#141905 #141905 #38450F #61771A #8AAA25

Accessibility & contrast

On white

10.36
#38450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#38450F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38450F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38450F#FFFFFF#000000##FFFFFF
##38450F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4007
Deuteranopia (green-blind)
#484013
Tritanopia (blue-blind)
#3B413A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #38450f;
/* rgb */ color: rgb(56, 69, 15);
/* oklch */ color: oklch(36.7% 0.078 122.1);
Tailwind
colors: {
  custom: {
    50: '#717851',
    500: '#38450f',
    950: '#000000',
  },
}
SCSS
$custom: #38450f;
$custom-light: #717851;
$custom-dark: #000000;
JSON
{
  "hex": "#38450f",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 74.444,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36677,
    "c": 0.0777,
    "h": 122.1
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#38450F
secondary
#43307F
accent
#41E769
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #38450F

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

Preview Lab → · Contrast checker → · Palette generator →

#38450F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva