#242A01#242A01

#242A01 is a dark, moderate yellow. Relative luminance 0.020; OKLCH L 27.0% C 0.061 H 117.8°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#242A01
RGBrgb(36, 42, 1)
HSLhsl(69, 95%, 8%)
HSVhsv(69, 98%, 16%)
CMYKcmyk(14.3%, 0%, 97.6%, 83.5%)
CIE-LABlab(15.66, -9.37, 22.15)
CIE-LCHlch(15.66, 24.06, 112.93°)
OKLaboklab(26.98% -0.0286 0.0543)
OKLCHoklch(26.98% 0.061 117.8)
XYZxyz(1.5610, 2.0332, 0.3389)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A01 #07012A
analogous
#2A1B01 #242A01 #0F2A01
triadic
#242A01 #01242A #2A0124
tetradic
#242A01 #012A1B #07012A #2A010F
square
#242A01 #012A1B #07012A #2A010F
split-complementary
#242A01 #010F2A #1B012A
monochromatic
#1A1E01 #1A1E01 #242A01 #576602 #8AA204

Accessibility & contrast

On white

14.93
#242A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#242A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A01
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A01#FFFFFF#000000##FFFFFF
##242A011.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2D2704
Tritanopia (blue-blind)
#272722
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #242a01;
/* rgb */ color: rgb(36, 42, 1);
/* oklch */ color: oklch(27.0% 0.061 117.8);
Tailwind
colors: {
  custom: {
    50: '#606347',
    500: '#242a01',
    950: '#000000',
  },
}
SCSS
$custom: #242a01;
$custom-light: #606347;
$custom-dark: #000000;
JSON
{
  "hex": "#242a01",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 68.78,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.26975,
    "c": 0.06135,
    "h": 117.8
  },
  "luminance": 0.02033
}

Semantic roles & 50–950 ramp

primary
#242A01
secondary
#241670
accent
#29FF48
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #242A01

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

Preview Lab → · Contrast checker → · Palette generator →

#242A01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva