#2F3207#2F3207

#2F3207 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.5% C 0.061 H 113.5°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#2F3207
RGBrgb(47, 50, 7)
HSLhsl(64, 75%, 11%)
HSVhsv(64, 86%, 20%)
CMYKcmyk(6%, 0%, 86%, 80.4%)
CIE-LABlab(19.64, -7.94, 24.76)
CIE-LCHlch(19.64, 26.00, 107.79°)
OKLaboklab(30.45% -0.0244 0.0562)
OKLCHoklch(30.45% 0.061 113.5)
XYZxyz(2.3513, 2.9009, 0.6370)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3207 #0A0732
analogous
#321F07 #2F3207 #193207
triadic
#2F3207 #072F32 #32072F
tetradic
#2F3207 #07321F #0A0732 #320719
square
#2F3207 #07321F #0A0732 #320719
split-complementary
#2F3207 #071932 #1F0732
monochromatic
#191B04 #191B04 #2F3207 #61680F #949D16

Accessibility & contrast

On white

13.29
#2F3207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2F3207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3207
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3207#FFFFFF#000000##FFFFFF
##2F32071.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F02
Deuteranopia (green-blind)
#36300A
Tritanopia (blue-blind)
#332E2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f3207;
/* rgb */ color: rgb(47, 50, 7);
/* oklch */ color: oklch(30.5% 0.061 113.5);
Tailwind
colors: {
  custom: {
    50: '#69694b',
    500: '#2f3207',
    950: '#000000',
  },
}
SCSS
$custom: #2f3207;
$custom-light: #69694b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3207",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 7
  },
  "hsl": {
    "h": 64.186,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.30454,
    "c": 0.06128,
    "h": 113.5
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#2F3207
secondary
#292372
accent
#36F243
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3207

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

Preview Lab → · Contrast checker → · Palette generator →

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