#F7CF57#F7CF57

#F7CF57 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.7% C 0.143 H 90.6°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#F7CF57
RGBrgb(247, 207, 87)
HSLhsl(45, 91%, 65%)
HSVhsv(45, 65%, 97%)
CMYKcmyk(0%, 16.2%, 64.8%, 3.1%)
CIE-LABlab(84.53, 1.23, 62.97)
CIE-LCHlch(84.53, 62.98, 88.88°)
OKLaboklab(86.72% -0.0014 0.1431)
OKLCHoklch(86.72% 0.143 90.6)
XYZxyz(62.3941, 65.0915, 18.2925)
Luminance0.6509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7CF57 #577FF7
analogous
#F77F57 #F7CF57 #CFF757
triadic
#F7CF57 #57F7CF #CF57F7
tetradic
#F7CF57 #57F77F #577FF7 #F757CF
square
#F7CF57 #57F77F #577FF7 #F757CF
split-complementary
#F7CF57 #57CFF7 #7F57F7
monochromatic
#CA9A0A #F4BE1D #F7CF57 #FAE091 #FDF0CC

Accessibility & contrast

On white

1.50
#F7CF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.02
#F7CF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7CF57
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7CF57#FFFFFF#000000##000000
##F7CF571.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC49
Deuteranopia (green-blind)
#EED85C
Tritanopia (blue-blind)
#FFBFB5
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f7cf57;
/* rgb */ color: rgb(247, 207, 87);
/* oklch */ color: oklch(86.7% 0.143 90.6);
Tailwind
colors: {
  custom: {
    50: '#fedd8b',
    500: '#f7cf57',
    950: '#000000',
  },
}
SCSS
$custom: #f7cf57;
$custom-light: #fedd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f7cf57",
  "rgb": {
    "r": 247,
    "g": 207,
    "b": 87
  },
  "hsl": {
    "h": 45,
    "s": 90.909,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86718,
    "c": 0.14308,
    "h": 90.6
  },
  "luminance": 0.65088
}

Semantic roles & 50–950 ramp

primary
#F7CF57
secondary
#2C53C6
accent
#39E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F7CF57

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

Preview Lab → · Contrast checker → · Palette generator →

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