#F5CF4E#F5CF4E

#F5CF4E is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.4% C 0.149 H 92.4°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#F5CF4E
RGBrgb(245, 207, 78)
HSLhsl(46, 89%, 63%)
HSVhsv(46, 68%, 96%)
CMYKcmyk(0%, 15.5%, 68.2%, 3.9%)
CIE-LABlab(84.27, -0.11, 66.38)
CIE-LCHlch(84.27, 66.38, 90.09°)
OKLaboklab(86.45% -0.0061 0.1489)
OKLCHoklch(86.45% 0.149 92.4)
XYZxyz(61.3473, 64.5917, 16.4424)
Luminance0.6459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CF4E #4E74F5
analogous
#F57B4E #F5CF4E #C8F54E
triadic
#F5CF4E #4EF5CF #CF4EF5
tetradic
#F5CF4E #4EF57B #4E74F5 #F54EC8
square
#F5CF4E #4EF57B #4E74F5 #F54EC8
split-complementary
#F5CF4E #4EC8F5 #7B4EF5
monochromatic
#BE950B #F2BF14 #F5CF4E #F8DF88 #FCEEC2

Accessibility & contrast

On white

1.51
#F5CF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#F5CF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CF4E
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CF4E#FFFFFF#000000##000000
##F5CF4E1.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3D
Deuteranopia (green-blind)
#EED755
Tritanopia (blue-blind)
#FFBFB4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f5cf4e;
/* rgb */ color: rgb(245, 207, 78);
/* oklch */ color: oklch(86.4% 0.149 92.4);
Tailwind
colors: {
  custom: {
    50: '#fcdd86',
    500: '#f5cf4e',
    950: '#000000',
  },
}
SCSS
$custom: #f5cf4e;
$custom-light: #fcdd86;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cf4e",
  "rgb": {
    "r": 245,
    "g": 207,
    "b": 78
  },
  "hsl": {
    "h": 46.347,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86449,
    "c": 0.14906,
    "h": 92.4
  },
  "luminance": 0.64588
}

Semantic roles & 50–950 ramp

primary
#F5CF4E
secondary
#2B4CBC
accent
#34E600
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5CF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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