#262B02#262B02

#262B02 is a dark, moderate yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.061 H 116.5°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#262B02
RGBrgb(38, 43, 2)
HSLhsl(67, 91%, 9%)
HSVhsv(67, 95%, 17%)
CMYKcmyk(11.6%, 0%, 95.3%, 83.1%)
CIE-LABlab(16.23, -8.81, 22.50)
CIE-LCHlch(16.23, 24.16, 111.39°)
OKLaboklab(27.48% -0.027 0.0542)
OKLCHoklch(27.48% 0.061 116.5)
XYZxyz(1.6742, 2.1442, 0.3831)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B02 #07022B
analogous
#2B1C02 #262B02 #122B02
triadic
#262B02 #02262B #2B0226
tetradic
#262B02 #022B1C #07022B #2B0212
square
#262B02 #022B1C #07022B #2B0212
split-complementary
#262B02 #02122B #1C022B
monochromatic
#1A1D01 #1A1D01 #262B02 #5A6505 #8DA007

Accessibility & contrast

On white

14.70
#262B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#262B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B02
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B02#FFFFFF#000000##FFFFFF
##262B021.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2E2905
Tritanopia (blue-blind)
#292823
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #262b02;
/* rgb */ color: rgb(38, 43, 2);
/* oklch */ color: oklch(27.5% 0.061 116.5);
Tailwind
colors: {
  custom: {
    50: '#616448',
    500: '#262b02',
    950: '#000000',
  },
}
SCSS
$custom: #262b02;
$custom-light: #616448;
$custom-dark: #000000;
JSON
{
  "hex": "#262b02",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 67.317,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.27481,
    "c": 0.06057,
    "h": 116.5
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#262B02
secondary
#231970
accent
#29FF43
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #262B02

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

Preview Lab → · Contrast checker → · Palette generator →

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