#2F300D#2F300D

#2F300D is a dark, muted yellow. Relative luminance 0.027; OKLCH L 30.0% C 0.053 H 110.7°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#2F300D
RGBrgb(47, 48, 13)
HSLhsl(62, 57%, 12%)
HSVhsv(62, 73%, 19%)
CMYKcmyk(2.1%, 0%, 72.9%, 81.2%)
CIE-LABlab(19.00, -6.21, 21.47)
CIE-LCHlch(19.00, 22.35, 106.13°)
OKLaboklab(29.96% -0.0187 0.0495)
OKLCHoklch(29.96% 0.053 110.7)
XYZxyz(2.3020, 2.7474, 0.7897)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F300D #0E0D30
analogous
#30200D #2F300D #1E300D
triadic
#2F300D #0D2F30 #300D2F
tetradic
#2F300D #0D3020 #0E0D30 #300D1E
square
#2F300D #0D3020 #0E0D30 #300D1E
split-complementary
#2F300D #0D1E30 #200D30
monochromatic
#181807 #181807 #2F300D #5E601A #8D9027

Accessibility & contrast

On white

13.55
#2F300D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F300D
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F300D#FFFFFF#000000##FFFFFF
##2F300D1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E09
Deuteranopia (green-blind)
#342F0F
Tritanopia (blue-blind)
#332D29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2f300d;
/* rgb */ color: rgb(47, 48, 13);
/* oklch */ color: oklch(30.0% 0.053 110.7);
Tailwind
colors: {
  custom: {
    50: '#69684d',
    500: '#2f300d',
    950: '#000000',
  },
}
SCSS
$custom: #2f300d;
$custom-light: #69684d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f300d",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 13
  },
  "hsl": {
    "h": 61.714,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2996,
    "c": 0.05292,
    "h": 110.7
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#2F300D
secondary
#2F2E6B
accent
#47E14C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F300D

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

Preview Lab → · Contrast checker → · Palette generator →

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