#302F0E#302F0E

#302F0E is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.050 H 107.5°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#302F0E
RGBrgb(48, 47, 14)
HSLhsl(58, 55%, 12%)
HSVhsv(58, 71%, 19%)
CMYKcmyk(0%, 2.1%, 70.8%, 81.2%)
CIE-LABlab(18.77, -4.94, 20.73)
CIE-LCHlch(18.77, 21.31, 103.41°)
OKLaboklab(29.8% -0.0151 0.048)
OKLCHoklch(29.8% 0.05 107.5)
XYZxyz(2.3148, 2.6932, 0.8133)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F0E #0E0F30
analogous
#301E0E #302F0E #20300E
triadic
#302F0E #0E302F #2F0E30
tetradic
#302F0E #0E301E #0E0F30 #300E20
square
#302F0E #0E301E #0E0F30 #300E20
split-complementary
#302F0E #0E2030 #1E0E30
monochromatic
#181707 #181707 #302F0E #5F5D1C #8F8C2A

Accessibility & contrast

On white

13.65
#302F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#302F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F0E
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F0E#FFFFFF#000000##FFFFFF
##302F0E1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0A
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#342C28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #302f0e;
/* rgb */ color: rgb(48, 47, 14);
/* oklch */ color: oklch(29.8% 0.050 107.5);
Tailwind
colors: {
  custom: {
    50: '#69674e',
    500: '#302f0e',
    950: '#000000',
  },
}
SCSS
$custom: #302f0e;
$custom-light: #69674e;
$custom-dark: #000000;
JSON
{
  "hex": "#302f0e",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 14
  },
  "hsl": {
    "h": 58.235,
    "s": 54.839,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29804,
    "c": 0.0503,
    "h": 107.5
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#302F0E
secondary
#2F316A
accent
#4EDE4A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #302F0E

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

Preview Lab → · Contrast checker → · Palette generator →

#302F0E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva