#F2CD45#F2CD45

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

Color values

HEX#F2CD45
RGBrgb(242, 205, 69)
HSLhsl(47, 87%, 61%)
HSVhsv(47, 71%, 95%)
CMYKcmyk(0%, 15.3%, 71.5%, 5.1%)
CIE-LABlab(83.43, -0.78, 68.95)
CIE-LCHlch(83.43, 68.95, 90.65°)
OKLaboklab(85.7% -0.0089 0.1529)
OKLCHoklch(85.7% 0.153 93.3)
XYZxyz(59.5266, 62.9730, 14.6487)
Luminance0.6297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CD45 #456AF2
analogous
#F27645 #F2CD45 #C0F245
triadic
#F2CD45 #45F2CD #CD45F2
tetradic
#F2CD45 #45F276 #456AF2 #F245C0
square
#F2CD45 #45F276 #456AF2 #F245C0
split-complementary
#F2CD45 #45C0F2 #7645F2
monochromatic
#B08D0C #E9BB10 #F2CD45 #F6DC7E #FAECB7

Accessibility & contrast

On white

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

On black

13.59
#F2CD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CD45
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CD45#FFFFFF#000000##000000
##F2CD451.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA30
Deuteranopia (green-blind)
#ECD54D
Tritanopia (blue-blind)
#FFBDB2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f2cd45;
/* rgb */ color: rgb(242, 205, 69);
/* oklch */ color: oklch(85.7% 0.153 93.3);
Tailwind
colors: {
  custom: {
    50: '#fbdb81',
    500: '#f2cd45',
    950: '#000000',
  },
}
SCSS
$custom: #f2cd45;
$custom-light: #fbdb81;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cd45",
  "rgb": {
    "r": 242,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 47.168,
    "s": 86.935,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85697,
    "c": 0.15316,
    "h": 93.3
  },
  "luminance": 0.6297
}

Semantic roles & 50–950 ramp

primary
#F2CD45
secondary
#2B47B0
accent
#32E302
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F2CD45

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

Preview Lab → · Contrast checker → · Palette generator →

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