#F2CD5C#F2CD5C

#F2CD5C is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.9% C 0.137 H 91.1°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#F2CD5C
RGBrgb(242, 205, 92)
HSLhsl(45, 85%, 65%)
HSVhsv(45, 62%, 95%)
CMYKcmyk(0%, 15.3%, 62%, 5.1%)
CIE-LABlab(83.61, 0.48, 59.66)
CIE-LCHlch(83.61, 59.66, 89.53°)
OKLaboklab(85.9% -0.0026 0.1369)
OKLCHoklch(85.9% 0.137 91.1)
XYZxyz(60.3839, 63.3159, 19.1638)
Luminance0.6331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CD5C #5C81F2
analogous
#F2825C #F2CD5C #CCF25C
triadic
#F2CD5C #5CF2CD #CD5CF2
tetradic
#F2CD5C #5CF282 #5C81F2 #F25CCC
square
#F2CD5C #5CF282 #5C81F2 #F25CCC
split-complementary
#F2CD5C #5CCCF2 #825CF2
monochromatic
#C49710 #EDBC23 #F2CD5C #F7DE95 #FBF0CD

Accessibility & contrast

On white

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

On black

13.66
#F2CD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CD5C
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CD5C#FFFFFF#000000##000000
##F2CD5C1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA50
Deuteranopia (green-blind)
#EBD561
Tritanopia (blue-blind)
#FFBEB4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f2cd5c;
/* rgb */ color: rgb(242, 205, 92);
/* oklch */ color: oklch(85.9% 0.137 91.1);
Tailwind
colors: {
  custom: {
    50: '#fadb8e',
    500: '#f2cd5c',
    950: '#000000',
  },
}
SCSS
$custom: #f2cd5c;
$custom-light: #fadb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cd5c",
  "rgb": {
    "r": 242,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 45.2,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.85896,
    "c": 0.1369,
    "h": 91.1
  },
  "luminance": 0.63313
}

Semantic roles & 50–950 ramp

primary
#F2CD5C
secondary
#3154C1
accent
#3BE204
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2CD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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