#2E2F08#2E2F08

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

Color values

HEX#2E2F08
RGBrgb(46, 47, 8)
HSLhsl(62, 71%, 11%)
HSVhsv(62, 83%, 18%)
CMYKcmyk(2.1%, 0%, 83%, 81.6%)
CIE-LABlab(18.50, -6.51, 23.00)
CIE-LCHlch(18.50, 23.90, 105.79°)
OKLaboklab(29.52% -0.0202 0.053)
OKLCHoklch(29.52% 0.057 110.9)
XYZxyz(2.1871, 2.6315, 0.6224)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F08 #09082F
analogous
#2F1C08 #2E2F08 #1A2F08
triadic
#2E2F08 #082E2F #2F082E
tetradic
#2E2F08 #082F1C #09082F #2F081A
square
#2E2F08 #082F1C #09082F #2F081A
split-complementary
#2E2F08 #081A2F #1C082F
monochromatic
#1A1A04 #1A1A04 #2E2F08 #616311 #94981A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E2F08#FFFFFF#000000##FFFFFF
##2E2F081.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)
#332D04
Deuteranopia (green-blind)
#342E0B
Tritanopia (blue-blind)
#322C27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e2f08;
/* rgb */ color: rgb(46, 47, 8);
/* oklch */ color: oklch(29.5% 0.057 110.9);
Tailwind
colors: {
  custom: {
    50: '#68674b',
    500: '#2e2f08',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f08;
$custom-light: #68674b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f08",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 61.538,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2952,
    "c": 0.05666,
    "h": 110.9
  },
  "luminance": 0.02631
}

Semantic roles & 50–950 ramp

primary
#2E2F08
secondary
#27256E
accent
#3AEE3F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E2F08

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

Preview Lab → · Contrast checker → · Palette generator →

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