#2F3006#2F3006

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

Color values

HEX#2F3006
RGBrgb(47, 48, 6)
HSLhsl(61, 78%, 11%)
HSVhsv(61, 88%, 19%)
CMYKcmyk(2.1%, 0%, 87.5%, 81.2%)
CIE-LABlab(18.93, -6.76, 24.35)
CIE-LCHlch(18.93, 25.27, 105.51°)
OKLaboklab(29.88% -0.0212 0.0557)
OKLCHoklch(29.88% 0.06 110.9)
XYZxyz(2.2622, 2.7315, 0.5803)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3006 #070630
analogous
#301C06 #2F3006 #1A3006
triadic
#2F3006 #062F30 #30062F
tetradic
#2F3006 #06301C #070630 #30061A
square
#2F3006 #06301C #070630 #30061A
split-complementary
#2F3006 #061A30 #1C0630
monochromatic
#1B1B03 #1B1B03 #2F3006 #64660D #9A9D14

Accessibility & contrast

On white

13.58
#2F3006 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3006
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3006#FFFFFF#000000##FFFFFF
##2F30061.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D01
Deuteranopia (green-blind)
#352F09
Tritanopia (blue-blind)
#332C28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2f3006;
/* rgb */ color: rgb(47, 48, 6);
/* oklch */ color: oklch(29.9% 0.060 110.9);
Tailwind
colors: {
  custom: {
    50: '#69684a',
    500: '#2f3006',
    950: '#000000',
  },
}
SCSS
$custom: #2f3006;
$custom-light: #69684a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3006",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 6
  },
  "hsl": {
    "h": 61.429,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29884,
    "c": 0.05958,
    "h": 110.9
  },
  "luminance": 0.02731
}

Semantic roles & 50–950 ramp

primary
#2F3006
secondary
#232171
accent
#34F438
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3006

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

Preview Lab → · Contrast checker → · Palette generator →

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