#262A08#262A08

#262A08 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.3% C 0.052 H 115.7°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#262A08
RGBrgb(38, 42, 8)
HSLhsl(67, 68%, 10%)
HSVhsv(67, 81%, 16%)
CMYKcmyk(9.5%, 0%, 81%, 83.5%)
CIE-LABlab(15.93, -7.61, 19.68)
CIE-LCHlch(15.93, 21.10, 111.15°)
OKLaboklab(27.26% -0.0227 0.0472)
OKLCHoklch(27.26% 0.052 115.7)
XYZxyz(1.6712, 2.0856, 0.5442)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A08 #0C082A
analogous
#2A1D08 #262A08 #152A08
triadic
#262A08 #08262A #2A0826
tetradic
#262A08 #082A1D #0C082A #2A0815
square
#262A08 #082A1D #0C082A #2A0815
split-complementary
#262A08 #08152A #1D082A
monochromatic
#171A05 #171A05 #262A08 #555D12 #83911C

Accessibility & contrast

On white

14.82
#262A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#262A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A08
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A08#FFFFFF#000000##FFFFFF
##262A081.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2704
Deuteranopia (green-blind)
#2D280A
Tritanopia (blue-blind)
#292723
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #262a08;
/* rgb */ color: rgb(38, 42, 8);
/* oklch */ color: oklch(27.3% 0.052 115.7);
Tailwind
colors: {
  custom: {
    50: '#61634a',
    500: '#262a08',
    950: '#000000',
  },
}
SCSS
$custom: #262a08;
$custom-light: #61634a;
$custom-dark: #000000;
JSON
{
  "hex": "#262a08",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 8
  },
  "hsl": {
    "h": 67.059,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27264,
    "c": 0.05235,
    "h": 115.7
  },
  "luminance": 0.02086
}

Semantic roles & 50–950 ramp

primary
#262A08
secondary
#2D2569
accent
#3DEB51
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #262A08

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

Preview Lab → · Contrast checker → · Palette generator →

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