#F0CD5D#F0CD5D

#F0CD5D is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.7% C 0.136 H 91.9°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#F0CD5D
RGBrgb(240, 205, 93)
HSLhsl(46, 83%, 65%)
HSVhsv(46, 61%, 94%)
CMYKcmyk(0%, 14.6%, 61.2%, 5.9%)
CIE-LABlab(83.43, -0.28, 58.97)
CIE-LCHlch(83.43, 58.97, 90.27°)
OKLaboklab(85.72% -0.0046 0.1356)
OKLCHoklch(85.72% 0.136 91.9)
XYZxyz(59.7451, 62.9814, 19.3635)
Luminance0.6298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CD5D #5D80F0
analogous
#F0835D #F0CD5D #CAF05D
triadic
#F0CD5D #5DF0CD #CD5DF0
tetradic
#F0CD5D #5DF083 #5D80F0 #F05DCA
square
#F0CD5D #5DF083 #5D80F0 #F05DCA
split-complementary
#F0CD5D #5DCAF0 #835DF0
monochromatic
#C19712 #EBBC25 #F0CD5D #F5DE95 #FAF0CD

Accessibility & contrast

On white

1.54
#F0CD5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#F0CD5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CD5D
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CD5D#FFFFFF#000000##000000
##F0CD5D1.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA51
Deuteranopia (green-blind)
#EAD462
Tritanopia (blue-blind)
#FFBEB5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f0cd5d;
/* rgb */ color: rgb(240, 205, 93);
/* oklch */ color: oklch(85.7% 0.136 91.9);
Tailwind
colors: {
  custom: {
    50: '#f8dc8f',
    500: '#f0cd5d',
    950: '#000000',
  },
}
SCSS
$custom: #f0cd5d;
$custom-light: #f8dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cd5d",
  "rgb": {
    "r": 240,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 45.714,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.85718,
    "c": 0.13566,
    "h": 91.9
  },
  "luminance": 0.62978
}

Semantic roles & 50–950 ramp

primary
#F0CD5D
secondary
#3254BF
accent
#3ADF06
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0CD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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