#2E2F03#2E2F03

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

Color values

HEX#2E2F03
RGBrgb(46, 47, 3)
HSLhsl(61, 88%, 10%)
HSVhsv(61, 94%, 18%)
CMYKcmyk(2.1%, 0%, 93.6%, 81.6%)
CIE-LABlab(18.45, -6.89, 24.98)
CIE-LCHlch(18.45, 25.91, 105.43°)
OKLaboklab(29.47% -0.022 0.0575)
OKLCHoklch(29.47% 0.062 111)
XYZxyz(2.1597, 2.6205, 0.4782)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F03 #04032F
analogous
#2F1A03 #2E2F03 #182F03
triadic
#2E2F03 #032E2F #2F032E
tetradic
#2E2F03 #032F1A #04032F #2F0318
square
#2E2F03 #032F1A #04032F #2F0318
split-complementary
#2E2F03 #03182F #1A032F
monochromatic
#1C1D02 #1C1D02 #2E2F03 #666907 #9FA20A

Accessibility & contrast

On white

13.78
#2E2F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2F03
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F03#FFFFFF#000000##FFFFFF
##2E2F031.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342C00
Deuteranopia (green-blind)
#342E06
Tritanopia (blue-blind)
#322B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e2f03;
/* rgb */ color: rgb(46, 47, 3);
/* oklch */ color: oklch(29.5% 0.062 111.0);
Tailwind
colors: {
  custom: {
    50: '#686748',
    500: '#2e2f03',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f03;
$custom-light: #686748;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f03",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 61.364,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29467,
    "c": 0.0616,
    "h": 111
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#2E2F03
secondary
#1D1B73
accent
#2AFE2E
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2E2F03

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

Preview Lab → · Contrast checker → · Palette generator →

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