#2C2F03#2C2F03

#2C2F03 is a dark, moderate yellow. Relative luminance 0.026; OKLCH L 29.3% C 0.062 H 113.6°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#2C2F03
RGBrgb(44, 47, 3)
HSLhsl(64, 88%, 10%)
HSVhsv(64, 94%, 18%)
CMYKcmyk(6.4%, 0%, 93.6%, 81.6%)
CIE-LABlab(18.25, -7.98, 24.69)
CIE-LCHlch(18.25, 25.95, 107.91°)
OKLaboklab(29.26% -0.0249 0.0571)
OKLCHoklch(29.26% 0.062 113.6)
XYZxyz(2.0717, 2.5751, 0.4740)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F03 #06032F
analogous
#2F1C03 #2C2F03 #162F03
triadic
#2C2F03 #032C2F #2F032C
tetradic
#2C2F03 #032F1C #06032F #2F0316
square
#2C2F03 #032F1C #06032F #2F0316
split-complementary
#2C2F03 #03162F #1C032F
monochromatic
#1B1D02 #1B1D02 #2C2F03 #626907 #98A20A

Accessibility & contrast

On white

13.86
#2C2F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2C2F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2F03
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F03#FFFFFF#000000##FFFFFF
##2C2F031.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#332D06
Tritanopia (blue-blind)
#302B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2c2f03;
/* rgb */ color: rgb(44, 47, 3);
/* oklch */ color: oklch(29.3% 0.062 113.6);
Tailwind
colors: {
  custom: {
    50: '#676748',
    500: '#2c2f03',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f03;
$custom-light: #676748;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f03",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 64.091,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29257,
    "c": 0.06229,
    "h": 113.6
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#2C2F03
secondary
#211B73
accent
#2AFE38
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2C2F03

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

Preview Lab → · Contrast checker → · Palette generator →

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