#2F300C#2F300C

#2F300C is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.9% C 0.054 H 110.8°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#2F300C
RGBrgb(47, 48, 12)
HSLhsl(62, 60%, 12%)
HSVhsv(62, 75%, 19%)
CMYKcmyk(2.1%, 0%, 75%, 81.2%)
CIE-LABlab(18.99, -6.29, 21.92)
CIE-LCHlch(18.99, 22.81, 106.02°)
OKLaboklab(29.95% -0.0191 0.0504)
OKLCHoklch(29.95% 0.054 110.8)
XYZxyz(2.2957, 2.7448, 0.7566)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F300C #0D0C30
analogous
#301F0C #2F300C #1D300C
triadic
#2F300C #0C2F30 #300C2F
tetradic
#2F300C #0C301F #0D0C30 #300C1D
square
#2F300C #0C301F #0D0C30 #300C1D
split-complementary
#2F300C #0C1D30 #1F0C30
monochromatic
#181806 #181806 #2F300C #5F6118 #8F9224

Accessibility & contrast

On white

13.56
#2F300C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2F300C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F300C
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F300C#FFFFFF#000000##FFFFFF
##2F300C1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E08
Deuteranopia (green-blind)
#352F0E
Tritanopia (blue-blind)
#332D28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2f300c;
/* rgb */ color: rgb(47, 48, 12);
/* oklch */ color: oklch(29.9% 0.054 110.8);
Tailwind
colors: {
  custom: {
    50: '#69684d',
    500: '#2f300c',
    950: '#000000',
  },
}
SCSS
$custom: #2f300c;
$custom-light: #69684d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f300c",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 12
  },
  "hsl": {
    "h": 61.667,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29948,
    "c": 0.05394,
    "h": 110.8
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#2F300C
secondary
#2E2C6C
accent
#45E349
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F300C

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

Preview Lab → · Contrast checker → · Palette generator →

#2F300C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva