#F0CF5C#F0CF5C

#F0CF5C is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 86.1% C 0.138 H 93.3°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#F0CF5C
RGBrgb(240, 207, 92)
HSLhsl(47, 83%, 65%)
HSVhsv(47, 62%, 94%)
CMYKcmyk(0%, 13.7%, 61.7%, 5.9%)
CIE-LABlab(83.93, -1.37, 59.96)
CIE-LCHlch(83.93, 59.97, 91.31°)
OKLaboklab(86.11% -0.0078 0.1376)
OKLCHoklch(86.11% 0.138 93.3)
XYZxyz(60.1825, 63.9267, 19.2923)
Luminance0.6392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CF5C #5C7DF0
analogous
#F0855C #F0CF5C #C7F05C
triadic
#F0CF5C #5CF0CF #CF5CF0
tetradic
#F0CF5C #5CF085 #5C7DF0 #F05CC7
square
#F0CF5C #5CF085 #5C7DF0 #F05CC7
split-complementary
#F0CF5C #5CC7F0 #855CF0
monochromatic
#C09912 #EBBE24 #F0CF5C #F5E094 #FAF0CC

Accessibility & contrast

On white

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

On black

13.78
#F0CF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CF5C
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CF5C#FFFFFF#000000##000000
##F0CF5C1.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0cf5c;
/* rgb */ color: rgb(240, 207, 92);
/* oklch */ color: oklch(86.1% 0.138 93.3);
Tailwind
colors: {
  custom: {
    50: '#f8dd8e',
    500: '#f0cf5c',
    950: '#000000',
  },
}
SCSS
$custom: #f0cf5c;
$custom-light: #f8dd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cf5c",
  "rgb": {
    "r": 240,
    "g": 207,
    "b": 92
  },
  "hsl": {
    "h": 46.622,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86106,
    "c": 0.13778,
    "h": 93.3
  },
  "luminance": 0.63924
}

Semantic roles & 50–950 ramp

primary
#F0CF5C
secondary
#3251BE
accent
#36E006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0CF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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