#262F02#262F02

#262F02 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.7% C 0.066 H 120.7°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#262F02
RGBrgb(38, 47, 2)
HSLhsl(72, 92%, 10%)
HSVhsv(72, 96%, 18%)
CMYKcmyk(19.1%, 0%, 95.7%, 81.6%)
CIE-LABlab(17.69, -11.28, 24.29)
CIE-LCHlch(17.69, 26.78, 114.90°)
OKLaboklab(28.66% -0.0337 0.0569)
OKLCHoklch(28.66% 0.066 120.7)
XYZxyz(1.8268, 2.4495, 0.4340)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F02 #0B022F
analogous
#2F2202 #262F02 #102F02
triadic
#262F02 #02262F #2F0226
tetradic
#262F02 #022F22 #0B022F #2F0210
square
#262F02 #022F22 #0B022F #2F0210
split-complementary
#262F02 #02102F #22022F
monochromatic
#181D01 #181D01 #262F02 #556A04 #85A407

Accessibility & contrast

On white

14.10
#262F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262F02
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F02#FFFFFF#000000##FFFFFF
##262F021.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262f02;
/* rgb */ color: rgb(38, 47, 2);
/* oklch */ color: oklch(28.7% 0.066 120.7);
Tailwind
colors: {
  custom: {
    50: '#626748',
    500: '#262f02',
    950: '#000000',
  },
}
SCSS
$custom: #262f02;
$custom-light: #626748;
$custom-dark: #000000;
JSON
{
  "hex": "#262f02",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 72,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28659,
    "c": 0.06612,
    "h": 120.7
  },
  "luminance": 0.02449
}

Semantic roles & 50–950 ramp

primary
#262F02
secondary
#2B1974
accent
#29FF54
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #262F02

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

Preview Lab → · Contrast checker → · Palette generator →

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