#262F0C#262F0C

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

Color values

HEX#262F0C
RGBrgb(38, 47, 12)
HSLhsl(75, 59%, 12%)
HSVhsv(75, 74%, 18%)
CMYKcmyk(19.1%, 0%, 74.5%, 81.6%)
CIE-LABlab(17.79, -10.37, 20.29)
CIE-LCHlch(17.79, 22.79, 117.07°)
OKLaboklab(28.77% -0.0299 0.0474)
OKLCHoklch(28.77% 0.056 122.2)
XYZxyz(1.8822, 2.4716, 0.7257)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F0C #150C2F
analogous
#2F270C #262F0C #152F0C
triadic
#262F0C #0C262F #2F0C26
tetradic
#262F0C #0C2F27 #150C2F #2F0C15
square
#262F0C #0C2F27 #150C2F #2F0C15
split-complementary
#262F0C #0C152F #270C2F
monochromatic
#141806 #141806 #262F0C #4D6018 #759125

Accessibility & contrast

On white

14.05
#262F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262F0C
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F0C#FFFFFF#000000##FFFFFF
##262F0C1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262f0c;
/* rgb */ color: rgb(38, 47, 12);
/* oklch */ color: oklch(28.8% 0.056 122.2);
Tailwind
colors: {
  custom: {
    50: '#61674d',
    500: '#262f0c',
    950: '#000000',
  },
}
SCSS
$custom: #262f0c;
$custom-light: #61674d;
$custom-dark: #000000;
JSON
{
  "hex": "#262f0c",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 75.429,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28773,
    "c": 0.05603,
    "h": 122.2
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#262F0C
secondary
#3C2C6B
accent
#45E36E
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #262F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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