#262F03#262F03

#262F03 is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.7% C 0.065 H 120.8°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#262F03
RGBrgb(38, 47, 3)
HSLhsl(72, 88%, 10%)
HSVhsv(72, 94%, 18%)
CMYKcmyk(19.1%, 0%, 93.6%, 81.6%)
CIE-LABlab(17.70, -11.19, 23.90)
CIE-LCHlch(17.70, 26.38, 115.09°)
OKLaboklab(28.67% -0.0333 0.0559)
OKLCHoklch(28.67% 0.065 120.8)
XYZxyz(1.8323, 2.4517, 0.4628)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F03 #0C032F
analogous
#2F2203 #262F03 #102F03
triadic
#262F03 #03262F #2F0326
tetradic
#262F03 #032F22 #0C032F #2F0310
square
#262F03 #032F22 #0C032F #2F0310
split-complementary
#262F03 #03102F #22032F
monochromatic
#171D02 #171D02 #262F03 #556907 #83A20A

Accessibility & contrast

On white

14.09
#262F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#262F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F03
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F03#FFFFFF#000000##FFFFFF
##262F031.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332B00
Deuteranopia (green-blind)
#322B06
Tritanopia (blue-blind)
#292C27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #262f03;
/* rgb */ color: rgb(38, 47, 3);
/* oklch */ color: oklch(28.7% 0.065 120.8);
Tailwind
colors: {
  custom: {
    50: '#626748',
    500: '#262f03',
    950: '#000000',
  },
}
SCSS
$custom: #262f03;
$custom-light: #626748;
$custom-dark: #000000;
JSON
{
  "hex": "#262f03",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 72.273,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2867,
    "c": 0.06506,
    "h": 120.8
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#262F03
secondary
#2D1B73
accent
#2AFE55
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #262F03

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

Preview Lab → · Contrast checker → · Palette generator →

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