#FFCF42#FFCF42

#FFCF42 is a very light, vivid orange. Relative luminance 0.663; OKLCH L 87.3% C 0.159 H 89.1°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#FFCF42
RGBrgb(255, 207, 66)
HSLhsl(45, 100%, 63%)
HSVhsv(45, 74%, 100%)
CMYKcmyk(0%, 18.8%, 74.1%, 0%)
CIE-LABlab(85.14, 3.52, 72.14)
CIE-LCHlch(85.14, 72.22, 87.20°)
OKLaboklab(87.33% 0.0024 0.1586)
OKLCHoklch(87.33% 0.159 89.1)
XYZxyz(64.5400, 66.2832, 14.5478)
Luminance0.6628 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFCF42 #4272FF
analogous
#FF7042 #FFCF42 #D0FF42
triadic
#FFCF42 #42FFCF #CF42FF
tetradic
#FFCF42 #42FF70 #4272FF #FF42D0
square
#FFCF42 #42FF70 #4272FF #FF42D0
split-complementary
#FFCF42 #42D0FF #7042FF
monochromatic
#C79400 #FFBF05 #FFCF42 #FFDF7F #FFEEBC

Accessibility & contrast

On white

1.47
#FFCF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#FFCF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFCF42
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFCF42#FFFFFF#000000##000000
##FFCF421.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD2A
Deuteranopia (green-blind)
#F2DA4A
Tritanopia (blue-blind)
#FFBDB3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ffcf42;
/* rgb */ color: rgb(255, 207, 66);
/* oklch */ color: oklch(87.3% 0.159 89.1);
Tailwind
colors: {
  custom: {
    50: '#ffdd80',
    500: '#ffcf42',
    950: '#000000',
  },
}
SCSS
$custom: #ffcf42;
$custom-light: #ffdd80;
$custom-dark: #000000;
JSON
{
  "hex": "#ffcf42",
  "rgb": {
    "r": 255,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 44.762,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.87326,
    "c": 0.1586,
    "h": 89.1
  },
  "luminance": 0.66279
}

Semantic roles & 50–950 ramp

primary
#FFCF42
secondary
#224BC3
accent
#3AE600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19150B
muted
#87847E

Preview Lab

Preview with #FFCF42

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

Preview Lab → · Contrast checker → · Palette generator →

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