#FFCF2E#FFCF2E

#FFCF2E is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.2% C 0.168 H 90.5°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#FFCF2E
RGBrgb(255, 207, 46)
HSLhsl(46, 100%, 59%)
HSVhsv(46, 82%, 100%)
CMYKcmyk(0%, 18.8%, 82%, 0%)
CIE-LABlab(85.04, 2.84, 78.41)
CIE-LCHlch(85.04, 78.46, 87.93°)
OKLaboklab(87.22% -0.0014 0.1681)
OKLCHoklch(87.22% 0.168 90.5)
XYZxyz(64.0499, 66.0871, 11.9668)
Luminance0.6608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFCF2E #2E5EFF
analogous
#FF672E #FFCF2E #C7FF2E
triadic
#FFCF2E #2EFFCF #CF2EFF
tetradic
#FFCF2E #2EFF67 #2E5EFF #FF2EC7
square
#FFCF2E #2EFF67 #2E5EFF #FF2EC7
split-complementary
#FFCF2E #2EC7FF #672EFF
monochromatic
#B38A00 #F0B900 #FFCF2E #FFDD6B #FFEBA8

Accessibility & contrast

On white

1.48
#FFCF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#FFCF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFCF2E
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFCF2E#FFFFFF#000000##000000
##FFCF2E1.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CD00
Deuteranopia (green-blind)
#F3DA39
Tritanopia (blue-blind)
#FFBDB2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ffcf2e;
/* rgb */ color: rgb(255, 207, 46);
/* oklch */ color: oklch(87.2% 0.168 90.5);
Tailwind
colors: {
  custom: {
    50: '#ffdd76',
    500: '#ffcf2e',
    950: '#000000',
  },
}
SCSS
$custom: #ffcf2e;
$custom-light: #ffdd76;
$custom-dark: #000000;
JSON
{
  "hex": "#ffcf2e",
  "rgb": {
    "r": 255,
    "g": 207,
    "b": 46
  },
  "hsl": {
    "h": 46.22,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.87216,
    "c": 0.16809,
    "h": 90.5
  },
  "luminance": 0.66083
}

Semantic roles & 50–950 ramp

primary
#FFCF2E
secondary
#1F41B2
accent
#5AFF29
background
#FFFEFB
surface
#FFFCF1
border
#D7D5CB
text
#19150A
muted
#87847D

Preview Lab

Preview with #FFCF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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