#2E2F07#2E2F07

#2E2F07 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.5% C 0.058 H 110.9°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#2E2F07
RGBrgb(46, 47, 7)
HSLhsl(62, 74%, 11%)
HSVhsv(62, 85%, 18%)
CMYKcmyk(2.1%, 0%, 85.1%, 81.6%)
CIE-LABlab(18.49, -6.58, 23.40)
CIE-LCHlch(18.49, 24.30, 105.71°)
OKLaboklab(29.51% -0.0205 0.0538)
OKLCHoklch(29.51% 0.058 110.9)
XYZxyz(2.1817, 2.6293, 0.5935)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F07 #08072F
analogous
#2F1C07 #2E2F07 #1A2F07
triadic
#2E2F07 #072E2F #2F072E
tetradic
#2E2F07 #072F1C #08072F #2F071A
square
#2E2F07 #072F1C #08072F #2F071A
split-complementary
#2E2F07 #071A2F #1C072F
monochromatic
#1A1B04 #1A1B04 #2E2F07 #62640F #969A17

Accessibility & contrast

On white

13.76
#2E2F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2E2F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F07
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F07#FFFFFF#000000##FFFFFF
##2E2F071.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C03
Deuteranopia (green-blind)
#342E0A
Tritanopia (blue-blind)
#322B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e2f07;
/* rgb */ color: rgb(46, 47, 7);
/* oklch */ color: oklch(29.5% 0.058 110.9);
Tailwind
colors: {
  custom: {
    50: '#68674a',
    500: '#2e2f07',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f07;
$custom-light: #68674a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f07",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 61.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2951,
    "c": 0.05762,
    "h": 110.9
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#2E2F07
secondary
#25236F
accent
#37F13C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E2F07

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

Preview Lab → · Contrast checker → · Palette generator →

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