#2F3803#2F3803

#2F3803 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.1% C 0.073 H 119.4°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#2F3803
RGBrgb(47, 56, 3)
HSLhsl(70, 90%, 12%)
HSVhsv(70, 95%, 22%)
CMYKcmyk(16.1%, 0%, 94.6%, 78%)
CIE-LABlab(21.72, -11.89, 28.69)
CIE-LCHlch(21.72, 31.05, 112.51°)
OKLaboklab(32.12% -0.0358 0.0636)
OKLCHoklch(32.12% 0.073 119.4)
XYZxyz(2.6030, 3.4393, 0.6129)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3803 #0C0338
analogous
#382703 #2F3803 #153803
triadic
#2F3803 #032F38 #38032F
tetradic
#2F3803 #033827 #0C0338 #380315
square
#2F3803 #033827 #0C0338 #380315
split-complementary
#2F3803 #031538 #270338
monochromatic
#181D02 #181D02 #2F3803 #607206 #91AC09

Accessibility & contrast

On white

12.44
#2F3803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2F3803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3803
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3803#FFFFFF#000000##FFFFFF
##2F38031.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#3B3407
Tritanopia (blue-blind)
#32342E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f3803;
/* rgb */ color: rgb(47, 56, 3);
/* oklch */ color: oklch(32.1% 0.073 119.4);
Tailwind
colors: {
  custom: {
    50: '#6a6e49',
    500: '#2f3803',
    950: '#000000',
  },
}
SCSS
$custom: #2f3803;
$custom-light: #6a6e49;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3803",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 3
  },
  "hsl": {
    "h": 70.189,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.32116,
    "c": 0.07295,
    "h": 119.4
  },
  "luminance": 0.03439
}

Semantic roles & 50–950 ramp

primary
#2F3803
secondary
#2C1C7B
accent
#29FF4D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3803

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

Preview Lab → · Contrast checker → · Palette generator →

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