#262F0B#262F0B

#262F0B is a dark, muted yellow-green. Relative luminance 0.025; OKLCH L 28.8% C 0.057 H 122.0°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#262F0B
RGBrgb(38, 47, 11)
HSLhsl(75, 62%, 11%)
HSVhsv(75, 77%, 18%)
CMYKcmyk(19.1%, 0%, 76.6%, 81.6%)
CIE-LABlab(17.78, -10.47, 20.72)
CIE-LCHlch(17.78, 23.22, 116.80°)
OKLaboklab(28.76% -0.0302 0.0484)
OKLCHoklch(28.76% 0.057 122)
XYZxyz(1.8763, 2.4693, 0.6943)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F0B #140B2F
analogous
#2F260B #262F0B #142F0B
triadic
#262F0B #0B262F #2F0B26
tetradic
#262F0B #0B2F26 #140B2F #2F0B14
square
#262F0B #0B2F26 #140B2F #2F0B14
split-complementary
#262F0B #0B142F #260B2F
monochromatic
#141906 #141906 #262F0B #4E6117 #769222

Accessibility & contrast

On white

14.06
#262F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262F0B
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F0B#FFFFFF#000000##FFFFFF
##262F0B1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C07
Deuteranopia (green-blind)
#312C0E
Tritanopia (blue-blind)
#282C28
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #262f0b;
/* rgb */ color: rgb(38, 47, 11);
/* oklch */ color: oklch(28.8% 0.057 122.0);
Tailwind
colors: {
  custom: {
    50: '#61674c',
    500: '#262f0b',
    950: '#000000',
  },
}
SCSS
$custom: #262f0b;
$custom-light: #61674c;
$custom-dark: #000000;
JSON
{
  "hex": "#262f0b",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 75,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28761,
    "c": 0.05705,
    "h": 122
  },
  "luminance": 0.02469
}

Semantic roles & 50–950 ramp

primary
#262F0B
secondary
#3B2A6B
accent
#43E56B
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #262F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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