#383E12#383E12

#383E12 is a dark, moderate yellow. Relative luminance 0.043; OKLCH L 34.8% C 0.065 H 116.5°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#383E12
RGBrgb(56, 62, 18)
HSLhsl(68, 55%, 16%)
HSVhsv(68, 71%, 24%)
CMYKcmyk(9.7%, 0%, 71%, 75.7%)
CIE-LABlab(24.73, -9.82, 25.41)
CIE-LCHlch(24.73, 27.24, 111.13°)
OKLaboklab(34.78% -0.0289 0.0581)
OKLCHoklch(34.78% 0.065 116.5)
XYZxyz(3.4628, 4.3297, 1.2255)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383E12 #18123E
analogous
#3E2E12 #383E12 #223E12
triadic
#383E12 #12383E #3E1238
tetradic
#383E12 #123E2E #18123E #3E1222
square
#383E12 #123E2E #18123E #3E1222
split-complementary
#383E12 #12223E #2E123E
monochromatic
#151807 #151807 #383E12 #636D20 #8E9D2E

Accessibility & contrast

On white

11.25
#383E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#383E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383E12
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383E12#FFFFFF#000000##FFFFFF
##383E121.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A0D
Deuteranopia (green-blind)
#423B15
Tritanopia (blue-blind)
#3C3A35
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #383e12;
/* rgb */ color: rgb(56, 62, 18);
/* oklch */ color: oklch(34.8% 0.065 116.5);
Tailwind
colors: {
  custom: {
    50: '#707352',
    500: '#383e12',
    950: '#000000',
  },
}
SCSS
$custom: #383e12;
$custom-light: #707352;
$custom-dark: #000000;
JSON
{
  "hex": "#383e12",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 18
  },
  "hsl": {
    "h": 68.182,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34776,
    "c": 0.06488,
    "h": 116.5
  },
  "luminance": 0.0433
}

Semantic roles & 50–950 ramp

primary
#383E12
secondary
#3E3577
accent
#49DE5E
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #383E12

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

Preview Lab → · Contrast checker → · Palette generator →

#383E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva