#262D02#262D02

#262D02 is a dark, moderate yellow. Relative luminance 0.023; OKLCH L 28.1% C 0.063 H 118.7°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#262D02
RGBrgb(38, 45, 2)
HSLhsl(70, 91%, 9%)
HSVhsv(70, 96%, 18%)
CMYKcmyk(15.6%, 0%, 95.6%, 82.4%)
CIE-LABlab(16.96, -10.06, 23.40)
CIE-LCHlch(16.96, 25.47, 113.26°)
OKLaboklab(28.07% -0.0304 0.0555)
OKLCHoklch(28.07% 0.063 118.7)
XYZxyz(1.7487, 2.2932, 0.4079)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D02 #09022D
analogous
#2D1F02 #262D02 #112D02
triadic
#262D02 #02262D #2D0226
tetradic
#262D02 #022D1F #09022D #2D0211
square
#262D02 #022D1F #09022D #2D0211
split-complementary
#262D02 #02112D #1F022D
monochromatic
#191D01 #191D01 #262D02 #576805 #89A207

Accessibility & contrast

On white

14.40
#262D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#262D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D02
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D02#FFFFFF#000000##FFFFFF
##262D021.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#302A05
Tritanopia (blue-blind)
#292A25
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #262d02;
/* rgb */ color: rgb(38, 45, 2);
/* oklch */ color: oklch(28.1% 0.063 118.7);
Tailwind
colors: {
  custom: {
    50: '#616548',
    500: '#262d02',
    950: '#000000',
  },
}
SCSS
$custom: #262d02;
$custom-light: #616548;
$custom-dark: #000000;
JSON
{
  "hex": "#262d02",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 69.767,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.28068,
    "c": 0.06332,
    "h": 118.7
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#262D02
secondary
#271972
accent
#29FF4C
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050500
muted
#797A77

Preview Lab

Preview with #262D02

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

Preview Lab → · Contrast checker → · Palette generator →

#262D02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva