#2F300F#2F300F

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

Color values

HEX#2F300F
RGBrgb(47, 48, 15)
HSLhsl(62, 52%, 12%)
HSVhsv(62, 69%, 19%)
CMYKcmyk(2.1%, 0%, 68.7%, 81.2%)
CIE-LABlab(19.03, -6.03, 20.48)
CIE-LCHlch(19.03, 21.35, 106.39°)
OKLaboklab(29.99% -0.0179 0.0475)
OKLCHoklch(29.99% 0.051 110.7)
XYZxyz(2.3155, 2.7528, 0.8612)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F300F #100F30
analogous
#30210F #2F300F #1F300F
triadic
#2F300F #0F2F30 #300F2F
tetradic
#2F300F #0F3021 #100F30 #300F1F
square
#2F300F #0F3021 #100F30 #300F1F
split-complementary
#2F300F #0F1F30 #210F30
monochromatic
#171707 #171707 #2F300F #5D5F1E #8A8D2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F300F#FFFFFF#000000##FFFFFF
##2F300F1.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)
#342E0B
Deuteranopia (green-blind)
#342F11
Tritanopia (blue-blind)
#332D29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2f300f;
/* rgb */ color: rgb(47, 48, 15);
/* oklch */ color: oklch(30.0% 0.051 110.7);
Tailwind
colors: {
  custom: {
    50: '#69684f',
    500: '#2f300f',
    950: '#000000',
  },
}
SCSS
$custom: #2f300f;
$custom-light: #69684f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f300f",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 15
  },
  "hsl": {
    "h": 61.818,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29986,
    "c": 0.05077,
    "h": 110.7
  },
  "luminance": 0.02753
}

Semantic roles & 50–950 ramp

primary
#2F300F
secondary
#33316A
accent
#4CDC50
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F300F

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

Preview Lab → · Contrast checker → · Palette generator →

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