#38300C#38300C

#38300C is a dark, muted yellow. Relative luminance 0.030; OKLCH L 31.0% C 0.053 H 96.5°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#38300C
RGBrgb(56, 48, 12)
HSLhsl(49, 65%, 13%)
HSVhsv(49, 79%, 22%)
CMYKcmyk(0%, 14.3%, 78.6%, 78%)
CIE-LABlab(19.97, -1.46, 23.30)
CIE-LCHlch(19.97, 23.35, 93.59°)
OKLaboklab(30.96% -0.0061 0.0529)
OKLCHoklch(30.96% 0.053 96.5)
XYZxyz(2.7543, 2.9813, 0.7781)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38300C #0C1438
analogous
#381A0C #38300C #2A380C
triadic
#38300C #0C3830 #300C38
tetradic
#38300C #0C381A #0C1438 #380C2A
square
#38300C #0C381A #0C1438 #380C2A
split-complementary
#38300C #0C2A38 #1A0C38
monochromatic
#191605 #191605 #38300C #6A5B17 #9D8622

Accessibility & contrast

On white

13.16
#38300C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#38300C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38300C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38300C#FFFFFF#000000##FFFFFF
##38300C1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F08
Deuteranopia (green-blind)
#38310E
Tritanopia (blue-blind)
#3D2C29
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #38300c;
/* rgb */ color: rgb(56, 48, 12);
/* oklch */ color: oklch(31.0% 0.053 96.5);
Tailwind
colors: {
  custom: {
    50: '#70684d',
    500: '#38300c',
    950: '#000000',
  },
}
SCSS
$custom: #38300c;
$custom-light: #70684d;
$custom-dark: #000000;
JSON
{
  "hex": "#38300c",
  "rgb": {
    "r": 56,
    "g": 48,
    "b": 12
  },
  "hsl": {
    "h": 49.091,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.3096,
    "c": 0.05328,
    "h": 96.5
  },
  "luminance": 0.02981
}

Semantic roles & 50–950 ramp

primary
#38300C
secondary
#2C3974
accent
#5FE840
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #38300C

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

Preview Lab → · Contrast checker → · Palette generator →

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