#2F3008#2F3008

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

Color values

HEX#2F3008
RGBrgb(47, 48, 8)
HSLhsl(62, 71%, 11%)
HSVhsv(62, 83%, 19%)
CMYKcmyk(2.1%, 0%, 83.3%, 81.2%)
CIE-LABlab(18.95, -6.60, 23.55)
CIE-LCHlch(18.95, 24.46, 105.66°)
OKLaboklab(29.9% -0.0205 0.0539)
OKLCHoklch(29.9% 0.058 110.8)
XYZxyz(2.2731, 2.7358, 0.6380)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3008 #090830
analogous
#301D08 #2F3008 #1B3008
triadic
#2F3008 #082F30 #30082F
tetradic
#2F3008 #08301D #090830 #30081B
square
#2F3008 #08301D #090830 #30081B
split-complementary
#2F3008 #081B30 #1D0830
monochromatic
#1A1A04 #1A1A04 #2F3008 #626411 #969919

Accessibility & contrast

On white

13.57
#2F3008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3008
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3008#FFFFFF#000000##FFFFFF
##2F30081.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D03
Deuteranopia (green-blind)
#352F0B
Tritanopia (blue-blind)
#332C28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2f3008;
/* rgb */ color: rgb(47, 48, 8);
/* oklch */ color: oklch(29.9% 0.058 110.8);
Tailwind
colors: {
  custom: {
    50: '#69684b',
    500: '#2f3008',
    950: '#000000',
  },
}
SCSS
$custom: #2f3008;
$custom-light: #69684b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3008",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 8
  },
  "hsl": {
    "h": 61.5,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29905,
    "c": 0.0577,
    "h": 110.8
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#2F3008
secondary
#27256F
accent
#3AEE3E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3008

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

Preview Lab → · Contrast checker → · Palette generator →

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