#2F300A#2F300A

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

Color values

HEX#2F300A
RGBrgb(47, 48, 10)
HSLhsl(62, 66%, 11%)
HSVhsv(62, 79%, 19%)
CMYKcmyk(2.1%, 0%, 79.2%, 81.2%)
CIE-LABlab(18.97, -6.45, 22.76)
CIE-LCHlch(18.97, 23.66, 105.83°)
OKLaboklab(29.93% -0.0198 0.0522)
OKLCHoklch(29.93% 0.056 110.8)
XYZxyz(2.2841, 2.7402, 0.6957)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F300A #0B0A30
analogous
#301E0A #2F300A #1C300A
triadic
#2F300A #0A2F30 #300A2F
tetradic
#2F300A #0A301E #0B0A30 #300A1C
square
#2F300A #0A301E #0B0A30 #300A1C
split-complementary
#2F300A #0A1C30 #1E0A30
monochromatic
#191905 #191905 #2F300A #616315 #92951F

Accessibility & contrast

On white

13.57
#2F300A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F300A
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F300A#FFFFFF#000000##FFFFFF
##2F300A1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f300a;
/* rgb */ color: rgb(47, 48, 10);
/* oklch */ color: oklch(29.9% 0.056 110.8);
Tailwind
colors: {
  custom: {
    50: '#69684c',
    500: '#2f300a',
    950: '#000000',
  },
}
SCSS
$custom: #2f300a;
$custom-light: #69684c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f300a",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 10
  },
  "hsl": {
    "h": 61.579,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29926,
    "c": 0.05585,
    "h": 110.8
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#2F300A
secondary
#2A296D
accent
#3FE844
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F300A

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

Preview Lab → · Contrast checker → · Palette generator →

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