#F0CF5E#F0CF5E

#F0CF5E is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 86.1% C 0.136 H 93.0°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#F0CF5E
RGBrgb(240, 207, 94)
HSLhsl(46, 83%, 65%)
HSVhsv(46, 61%, 94%)
CMYKcmyk(0%, 13.7%, 60.8%, 5.9%)
CIE-LABlab(83.95, -1.24, 59.09)
CIE-LCHlch(83.95, 59.10, 91.20°)
OKLaboklab(86.13% -0.0072 0.136)
OKLCHoklch(86.13% 0.136 93)
XYZxyz(60.2711, 63.9622, 19.7588)
Luminance0.6396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CF5E #5E7FF0
analogous
#F0865E #F0CF5E #C8F05E
triadic
#F0CF5E #5EF0CF #CF5EF0
tetradic
#F0CF5E #5EF086 #5E7FF0 #F05EC8
square
#F0CF5E #5EF086 #5E7FF0 #F05EC8
split-complementary
#F0CF5E #5EC8F0 #865EF0
monochromatic
#C29A12 #EBBE26 #F0CF5E #F5E096 #FAF0CE

Accessibility & contrast

On white

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

On black

13.79
#F0CF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CF5E
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CF5E#FFFFFF#000000##000000
##F0CF5E1.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC52
Deuteranopia (green-blind)
#EBD663
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f0cf5e;
/* rgb */ color: rgb(240, 207, 94);
/* oklch */ color: oklch(86.1% 0.136 93.0);
Tailwind
colors: {
  custom: {
    50: '#f8dd90',
    500: '#f0cf5e',
    950: '#000000',
  },
}
SCSS
$custom: #f0cf5e;
$custom-light: #f8dd90;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cf5e",
  "rgb": {
    "r": 240,
    "g": 207,
    "b": 94
  },
  "hsl": {
    "h": 46.438,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86126,
    "c": 0.13617,
    "h": 93
  },
  "luminance": 0.63959
}

Semantic roles & 50–950 ramp

primary
#F0CF5E
secondary
#3353BF
accent
#37DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0CF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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