#2F300B#2F300B

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

Color values

HEX#2F300B
RGBrgb(47, 48, 11)
HSLhsl(62, 63%, 12%)
HSVhsv(62, 77%, 19%)
CMYKcmyk(2.1%, 0%, 77.1%, 81.2%)
CIE-LABlab(18.98, -6.38, 22.35)
CIE-LCHlch(18.98, 23.24, 105.92°)
OKLaboklab(29.94% -0.0195 0.0513)
OKLCHoklch(29.94% 0.055 110.8)
XYZxyz(2.2897, 2.7425, 0.7253)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F300B #0C0B30
analogous
#301F0B #2F300B #1D300B
triadic
#2F300B #0B2F30 #300B2F
tetradic
#2F300B #0B301F #0C0B30 #300B1D
square
#2F300B #0B301F #0C0B30 #300B1D
split-complementary
#2F300B #0B1D30 #1F0B30
monochromatic
#181906 #181906 #2F300B #606216 #919422

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F300B#FFFFFF#000000##FFFFFF
##2F300B1.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)
#342E07
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#332D28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2f300b;
/* rgb */ color: rgb(47, 48, 11);
/* oklch */ color: oklch(29.9% 0.055 110.8);
Tailwind
colors: {
  custom: {
    50: '#69684c',
    500: '#2f300b',
    950: '#000000',
  },
}
SCSS
$custom: #2f300b;
$custom-light: #69684c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f300b",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 11
  },
  "hsl": {
    "h": 61.622,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29937,
    "c": 0.05491,
    "h": 110.8
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#2F300B
secondary
#2C2A6D
accent
#42E646
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F300B

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

Preview Lab → · Contrast checker → · Palette generator →

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