#2F3011#2F3011

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

Color values

HEX#2F3011
RGBrgb(47, 48, 17)
HSLhsl(62, 48%, 13%)
HSVhsv(62, 65%, 19%)
CMYKcmyk(2.1%, 0%, 64.6%, 81.2%)
CIE-LABlab(19.05, -5.82, 19.40)
CIE-LCHlch(19.05, 20.26, 106.71°)
OKLaboklab(30.01% -0.0171 0.0454)
OKLCHoklch(30.01% 0.048 110.7)
XYZxyz(2.3305, 2.7588, 0.9399)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3011 #121130
analogous
#302111 #2F3011 #203011
triadic
#2F3011 #112F30 #30112F
tetradic
#2F3011 #113021 #121130 #301120
square
#2F3011 #113021 #121130 #301120
split-complementary
#2F3011 #112030 #211130
monochromatic
#161708 #161708 #2F3011 #5B5D21 #888A31

Accessibility & contrast

On white

13.53
#2F3011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3011
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3011#FFFFFF#000000##FFFFFF
##2F30111.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E0E
Deuteranopia (green-blind)
#342F13
Tritanopia (blue-blind)
#322D29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2f3011;
/* rgb */ color: rgb(47, 48, 17);
/* oklch */ color: oklch(30.0% 0.048 110.7);
Tailwind
colors: {
  custom: {
    50: '#686850',
    500: '#2f3011',
    950: '#000000',
  },
}
SCSS
$custom: #2f3011;
$custom-light: #686850;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3011",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 17
  },
  "hsl": {
    "h": 61.935,
    "s": 47.692,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30014,
    "c": 0.04847,
    "h": 110.7
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#2F3011
secondary
#363469
accent
#51D755
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F3011

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

Preview Lab → · Contrast checker → · Palette generator →

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