#2E300F#2E300F

#2E300F is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.9% C 0.051 H 112.3°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#2E300F
RGBrgb(46, 48, 15)
HSLhsl(64, 52%, 12%)
HSVhsv(64, 69%, 19%)
CMYKcmyk(4.2%, 0%, 68.7%, 81.2%)
CIE-LABlab(18.93, -6.55, 20.34)
CIE-LCHlch(18.93, 21.37, 107.86°)
OKLaboklab(29.88% -0.0194 0.0472)
OKLCHoklch(29.88% 0.051 112.3)
XYZxyz(2.2699, 2.7293, 0.8591)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E300F #110F30
analogous
#30210F #2E300F #1E300F
triadic
#2E300F #0F2E30 #300F2E
tetradic
#2E300F #0F3021 #110F30 #300F1E
square
#2E300F #0F3021 #110F30 #300F1E
split-complementary
#2E300F #0F1E30 #210F30
monochromatic
#161707 #161707 #2E300F #5B5F1E #878D2C

Accessibility & contrast

On white

13.59
#2E300F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2E300F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E300F
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E300F#FFFFFF#000000##FFFFFF
##2E300F1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E0B
Deuteranopia (green-blind)
#342E11
Tritanopia (blue-blind)
#312D29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e300f;
/* rgb */ color: rgb(46, 48, 15);
/* oklch */ color: oklch(29.9% 0.051 112.3);
Tailwind
colors: {
  custom: {
    50: '#68684f',
    500: '#2e300f',
    950: '#000000',
  },
}
SCSS
$custom: #2e300f;
$custom-light: #68684f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e300f",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 15
  },
  "hsl": {
    "h": 63.636,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29881,
    "c": 0.05104,
    "h": 112.3
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#2E300F
secondary
#34316A
accent
#4CDC55
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2E300F

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

Preview Lab → · Contrast checker → · Palette generator →

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