#FFCF3B#FFCF3B

#FFCF3B is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 87.3% C 0.162 H 89.7°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#FFCF3B
RGBrgb(255, 207, 59)
HSLhsl(45, 100%, 62%)
HSVhsv(45, 77%, 100%)
CMYKcmyk(0%, 18.8%, 76.9%, 0%)
CIE-LABlab(85.10, 3.25, 74.52)
CIE-LCHlch(85.10, 74.59, 87.50°)
OKLaboklab(87.28% 0.0009 0.1623)
OKLCHoklch(87.28% 0.162 89.7)
XYZxyz(64.3461, 66.2056, 13.5267)
Luminance0.6620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFCF3B #3B6BFF
analogous
#FF6D3B #FFCF3B #CDFF3B
triadic
#FFCF3B #3BFFCF #CF3BFF
tetradic
#FFCF3B #3BFF6D #3B6BFF #FF3BCD
square
#FFCF3B #3BFF6D #3B6BFF #FF3BCD
split-complementary
#FFCF3B #3BCDFF #6D3BFF
monochromatic
#C09100 #FDBF00 #FFCF3B #FFDE78 #FFEDB5

Accessibility & contrast

On white

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

On black

14.24
#FFCF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFCF3B
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFCF3B#FFFFFF#000000##000000
##FFCF3B1.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffcf3b;
/* rgb */ color: rgb(255, 207, 59);
/* oklch */ color: oklch(87.3% 0.162 89.7);
Tailwind
colors: {
  custom: {
    50: '#ffdd7c',
    500: '#ffcf3b',
    950: '#000000',
  },
}
SCSS
$custom: #ffcf3b;
$custom-light: #ffdd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffcf3b",
  "rgb": {
    "r": 255,
    "g": 207,
    "b": 59
  },
  "hsl": {
    "h": 45.306,
    "s": 100,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87283,
    "c": 0.16229,
    "h": 89.7
  },
  "luminance": 0.66201
}

Semantic roles & 50–950 ramp

primary
#FFCF3B
secondary
#2147BD
accent
#38E600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19150A
muted
#87847D

Preview Lab

Preview with #FFCF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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