#2F3010#2F3010

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

Color values

HEX#2F3010
RGBrgb(47, 48, 16)
HSLhsl(62, 50%, 13%)
HSVhsv(62, 67%, 19%)
CMYKcmyk(2.1%, 0%, 66.7%, 81.2%)
CIE-LABlab(19.04, -5.93, 19.95)
CIE-LCHlch(19.04, 20.82, 106.54°)
OKLaboklab(30% -0.0175 0.0464)
OKLCHoklch(30% 0.05 110.7)
XYZxyz(2.3228, 2.7557, 0.8997)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3010 #111030
analogous
#302110 #2F3010 #1F3010
triadic
#2F3010 #102F30 #30102F
tetradic
#2F3010 #103021 #111030 #30101F
square
#2F3010 #103021 #111030 #30101F
split-complementary
#2F3010 #101F30 #211030
monochromatic
#161708 #161708 #2F3010 #5C5E1F #898C2F

Accessibility & contrast

On white

13.54
#2F3010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3010
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3010#FFFFFF#000000##FFFFFF
##2F30101.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3010;
/* rgb */ color: rgb(47, 48, 16);
/* oklch */ color: oklch(30.0% 0.050 110.7);
Tailwind
colors: {
  custom: {
    50: '#69684f',
    500: '#2f3010',
    950: '#000000',
  },
}
SCSS
$custom: #2f3010;
$custom-light: #69684f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3010",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 16
  },
  "hsl": {
    "h": 61.875,
    "s": 50,
    "l": 12.549
  },
  "oklch": {
    "l": 0.3,
    "c": 0.04964,
    "h": 110.7
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#2F3010
secondary
#343369
accent
#4EDA53
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F3010

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

Preview Lab → · Contrast checker → · Palette generator →

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