#2F3005#2F3005

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

Color values

HEX#2F3005
RGBrgb(47, 48, 5)
HSLhsl(61, 81%, 10%)
HSVhsv(61, 90%, 19%)
CMYKcmyk(2.1%, 0%, 89.6%, 81.2%)
CIE-LABlab(18.93, -6.83, 24.74)
CIE-LCHlch(18.93, 25.67, 105.44°)
OKLaboklab(29.87% -0.0216 0.0566)
OKLCHoklch(29.87% 0.061 110.9)
XYZxyz(2.2567, 2.7293, 0.5515)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3005 #060530
analogous
#301B05 #2F3005 #193005
triadic
#2F3005 #052F30 #30052F
tetradic
#2F3005 #05301B #060530 #300519
square
#2F3005 #05301B #060530 #300519
split-complementary
#2F3005 #051930 #1B0530
monochromatic
#1B1C03 #1B1C03 #2F3005 #65670B #9C9F11

Accessibility & contrast

On white

13.59
#2F3005 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3005
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3005#FFFFFF#000000##FFFFFF
##2F30051.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3005;
/* rgb */ color: rgb(47, 48, 5);
/* oklch */ color: oklch(29.9% 0.061 110.9);
Tailwind
colors: {
  custom: {
    50: '#696849',
    500: '#2f3005',
    950: '#000000',
  },
}
SCSS
$custom: #2f3005;
$custom-light: #696849;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3005",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 5
  },
  "hsl": {
    "h": 61.395,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.29874,
    "c": 0.06056,
    "h": 110.9
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#2F3005
secondary
#211F72
accent
#30F835
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3005

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

Preview Lab → · Contrast checker → · Palette generator →

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