#2A2F03#2A2F03

#2A2F03 is a dark, moderate yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.063 H 116.1°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#2A2F03
RGBrgb(42, 47, 3)
HSLhsl(67, 88%, 10%)
HSVhsv(67, 94%, 18%)
CMYKcmyk(10.6%, 0%, 93.6%, 81.6%)
CIE-LABlab(18.06, -9.06, 24.42)
CIE-LCHlch(18.06, 26.04, 110.36°)
OKLaboklab(29.05% -0.0278 0.0567)
OKLCHoklch(29.05% 0.063 116.1)
XYZxyz(1.9879, 2.5319, 0.4701)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2F03 #08032F
analogous
#2F1E03 #2A2F03 #142F03
triadic
#2A2F03 #032A2F #2F032A
tetradic
#2A2F03 #032F1E #08032F #2F0314
square
#2A2F03 #032F1E #08032F #2F0314
split-complementary
#2A2F03 #03142F #1E032F
monochromatic
#1A1D02 #1A1D02 #2A2F03 #5D6907 #91A20A

Accessibility & contrast

On white

13.94
#2A2F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2A2F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2F03
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2F03#FFFFFF#000000##FFFFFF
##2A2F031.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#332C06
Tritanopia (blue-blind)
#2D2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2f03;
/* rgb */ color: rgb(42, 47, 3);
/* oklch */ color: oklch(29.1% 0.063 116.1);
Tailwind
colors: {
  custom: {
    50: '#656748',
    500: '#2a2f03',
    950: '#000000',
  },
}
SCSS
$custom: #2a2f03;
$custom-light: #656748;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2f03",
  "rgb": {
    "r": 42,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 66.818,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29055,
    "c": 0.0631,
    "h": 116.1
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#2A2F03
secondary
#251B73
accent
#2AFE42
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2A2F03

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

Preview Lab → · Contrast checker → · Palette generator →

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