#F2CD5E#F2CD5E

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

Color values

HEX#F2CD5E
RGBrgb(242, 205, 94)
HSLhsl(45, 85%, 66%)
HSVhsv(45, 61%, 95%)
CMYKcmyk(0%, 15.3%, 61.2%, 5.1%)
CIE-LABlab(83.63, 0.61, 58.79)
CIE-LCHlch(83.63, 58.79, 89.40°)
OKLaboklab(85.92% -0.002 0.1353)
OKLCHoklch(85.92% 0.135 90.9)
XYZxyz(60.4725, 63.3513, 19.6303)
Luminance0.6335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CD5E #5E83F2
analogous
#F2835E #F2CD5E #CDF25E
triadic
#F2CD5E #5EF2CD #CD5EF2
tetradic
#F2CD5E #5EF283 #5E83F2 #F25ECD
square
#F2CD5E #5EF283 #5E83F2 #F25ECD
split-complementary
#F2CD5E #5ECDF2 #835EF2
monochromatic
#C69810 #EDBB25 #F2CD5E #F7DF97 #FBF0CF

Accessibility & contrast

On white

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

On black

13.67
#F2CD5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CD5E
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CD5E#FFFFFF#000000##000000
##F2CD5E1.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2cd5e;
/* rgb */ color: rgb(242, 205, 94);
/* oklch */ color: oklch(85.9% 0.135 90.9);
Tailwind
colors: {
  custom: {
    50: '#fadc8f',
    500: '#f2cd5e',
    950: '#000000',
  },
}
SCSS
$custom: #f2cd5e;
$custom-light: #fadc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cd5e",
  "rgb": {
    "r": 242,
    "g": 205,
    "b": 94
  },
  "hsl": {
    "h": 45,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85917,
    "c": 0.13529,
    "h": 90.9
  },
  "luminance": 0.63348
}

Semantic roles & 50–950 ramp

primary
#F2CD5E
secondary
#3156C3
accent
#3BE204
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2CD5E

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

Preview Lab → · Contrast checker → · Palette generator →

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