#FFCA51#FFCA51

#FFCA51 is a very light, vivid orange. Relative luminance 0.641; OKLCH L 86.5% C 0.147 H 84.7°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#FFCA51
RGBrgb(255, 202, 81)
HSLhsl(42, 100%, 66%)
HSVhsv(42, 68%, 100%)
CMYKcmyk(0%, 20.8%, 68.2%, 0%)
CIE-LABlab(84.02, 6.79, 65.19)
CIE-LCHlch(84.02, 65.54, 84.05°)
OKLaboklab(86.48% 0.0135 0.1466)
OKLCHoklch(86.48% 0.147 84.7)
XYZxyz(63.8494, 64.0994, 16.7925)
Luminance0.6410 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFCA51 #5186FF
analogous
#FF7351 #FFCA51 #DDFF51
triadic
#FFCA51 #51FFCA #CA51FF
tetradic
#FFCA51 #51FF73 #5186FF #FF51DD
square
#FFCA51 #51FF73 #5186FF #FF51DD
split-complementary
#FFCA51 #51DDFF #7351FF
monochromatic
#D69500 #FFB714 #FFCA51 #FFDD8E #FFEFCB

Accessibility & contrast

On white

1.52
#FFCA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#FFCA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFCA51
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFCA51#FFFFFF#000000##000000
##FFCA511.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C942
Deuteranopia (green-blind)
#EED756
Tritanopia (blue-blind)
#FFB9B1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ffca51;
/* rgb */ color: rgb(255, 202, 81);
/* oklch */ color: oklch(86.5% 0.147 84.7);
Tailwind
colors: {
  custom: {
    50: '#ffd988',
    500: '#ffca51',
    950: '#000000',
  },
}
SCSS
$custom: #ffca51;
$custom-light: #ffd988;
$custom-dark: #000000;
JSON
{
  "hex": "#ffca51",
  "rgb": {
    "r": 255,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 41.724,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86476,
    "c": 0.14719,
    "h": 84.7
  },
  "luminance": 0.64095
}

Semantic roles & 50–950 ramp

primary
#FFCA51
secondary
#2559D0
accent
#46E600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#19140C
muted
#87837F

Preview Lab

Preview with #FFCA51

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

Preview Lab → · Contrast checker → · Palette generator →

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