#2F300E#2F300E

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

Color values

HEX#2F300E
RGBrgb(47, 48, 14)
HSLhsl(62, 55%, 12%)
HSVhsv(62, 71%, 19%)
CMYKcmyk(2.1%, 0%, 70.8%, 81.2%)
CIE-LABlab(19.01, -6.12, 20.99)
CIE-LCHlch(19.01, 21.86, 106.25°)
OKLaboklab(29.97% -0.0184 0.0485)
OKLCHoklch(29.97% 0.052 110.7)
XYZxyz(2.3086, 2.7500, 0.8246)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F300E #0F0E30
analogous
#30200E #2F300E #1E300E
triadic
#2F300E #0E2F30 #300E2F
tetradic
#2F300E #0E3020 #0F0E30 #300E1E
square
#2F300E #0E3020 #0F0E30 #300E1E
split-complementary
#2F300E #0E1E30 #200E30
monochromatic
#171807 #171807 #2F300E #5D5F1C #8C8F2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F300E#FFFFFF#000000##FFFFFF
##2F300E1.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)
#342E0A
Deuteranopia (green-blind)
#342F10
Tritanopia (blue-blind)
#332D29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2f300e;
/* rgb */ color: rgb(47, 48, 14);
/* oklch */ color: oklch(30.0% 0.052 110.7);
Tailwind
colors: {
  custom: {
    50: '#69684e',
    500: '#2f300e',
    950: '#000000',
  },
}
SCSS
$custom: #2f300e;
$custom-light: #69684e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f300e",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 14
  },
  "hsl": {
    "h": 61.765,
    "s": 54.839,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29973,
    "c": 0.05186,
    "h": 110.7
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#2F300E
secondary
#312F6A
accent
#4ADE4E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F300E

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

Preview Lab → · Contrast checker → · Palette generator →

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