#FFC242#FFC242

#FFC242 is a very light, vivid orange. Relative luminance 0.602; OKLCH L 84.8% C 0.154 H 81.9°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#FFC242
RGBrgb(255, 194, 66)
HSLhsl(41, 100%, 63%)
HSVhsv(41, 74%, 100%)
CMYKcmyk(0%, 23.9%, 74.1%, 0%)
CIE-LABlab(81.97, 10.23, 69.08)
CIE-LCHlch(81.97, 69.84, 81.58°)
OKLaboklab(84.83% 0.0217 0.1521)
OKLCHoklch(84.83% 0.154 81.9)
XYZxyz(61.5192, 60.2415, 13.5408)
Luminance0.6024 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFC242 #427FFF
analogous
#FF6342 #FFC242 #DDFF42
triadic
#FFC242 #42FFC2 #C242FF
tetradic
#FFC242 #42FF63 #427FFF #FF42DD
square
#FFC242 #42FF63 #427FFF #FF42DD
split-complementary
#FFC242 #42DDFF #6342FF
monochromatic
#C78700 #FFAE05 #FFC242 #FFD67F #FFEABC

Accessibility & contrast

On white

1.61
#FFC242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#FFC242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFC242
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFC242#FFFFFF#000000##000000
##FFC2421.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32E
Deuteranopia (green-blind)
#EAD248
Tritanopia (blue-blind)
#FFB0A9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ffc242;
/* rgb */ color: rgb(255, 194, 66);
/* oklch */ color: oklch(84.8% 0.154 81.9);
Tailwind
colors: {
  custom: {
    50: '#ffd47e',
    500: '#ffc242',
    950: '#000000',
  },
}
SCSS
$custom: #ffc242;
$custom-light: #ffd47e;
$custom-dark: #000000;
JSON
{
  "hex": "#ffc242",
  "rgb": {
    "r": 255,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 40.635,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84833,
    "c": 0.15362,
    "h": 81.9
  },
  "luminance": 0.60237
}

Semantic roles & 50–950 ramp

primary
#FFC242
secondary
#2256C3
accent
#4AE600
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#19140A
muted
#87837D

Preview Lab

Preview with #FFC242

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

Preview Lab → · Contrast checker → · Palette generator →

#FFC242 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva