#262D03#262D03

#262D03 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.1% C 0.062 H 118.8°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#262D03
RGBrgb(38, 45, 3)
HSLhsl(70, 88%, 9%)
HSVhsv(70, 93%, 18%)
CMYKcmyk(15.6%, 0%, 93.3%, 82.4%)
CIE-LABlab(16.97, -9.96, 23.01)
CIE-LCHlch(16.97, 25.07, 113.42°)
OKLaboklab(28.08% -0.03 0.0545)
OKLCHoklch(28.08% 0.062 118.8)
XYZxyz(1.7542, 2.2954, 0.4368)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D03 #0A032D
analogous
#2D1F03 #262D03 #112D03
triadic
#262D03 #03262D #2D0326
tetradic
#262D03 #032D1F #0A032D #2D0311
square
#262D03 #032D1F #0A032D #2D0311
split-complementary
#262D03 #03112D #1F032D
monochromatic
#181D02 #181D02 #262D03 #566607 #87A00B

Accessibility & contrast

On white

14.39
#262D03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262D03
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D03#FFFFFF#000000##FFFFFF
##262D031.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262d03;
/* rgb */ color: rgb(38, 45, 3);
/* oklch */ color: oklch(28.1% 0.062 118.8);
Tailwind
colors: {
  custom: {
    50: '#616548',
    500: '#262d03',
    950: '#000000',
  },
}
SCSS
$custom: #262d03;
$custom-light: #616548;
$custom-dark: #000000;
JSON
{
  "hex": "#262d03",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 3
  },
  "hsl": {
    "h": 70,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.2808,
    "c": 0.06221,
    "h": 118.8
  },
  "luminance": 0.02295
}

Semantic roles & 50–950 ramp

primary
#262D03
secondary
#291B71
accent
#2AFE4D
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050500
muted
#797A77

Preview Lab

Preview with #262D03

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

Preview Lab → · Contrast checker → · Palette generator →

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