#F2C94C#F2C94C

#F2C94C is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 85.0% C 0.146 H 90.5°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#F2C94C
RGBrgb(242, 201, 76)
HSLhsl(45, 86%, 62%)
HSVhsv(45, 69%, 95%)
CMYKcmyk(0%, 16.9%, 68.6%, 5.1%)
CIE-LABlab(82.47, 1.62, 65.25)
CIE-LCHlch(82.47, 65.27, 88.58°)
OKLaboklab(84.96% -0.0013 0.1463)
OKLCHoklch(84.96% 0.146 90.5)
XYZxyz(58.8123, 61.1758, 15.5465)
Luminance0.6117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2C94C #4C75F2
analogous
#F2764C #F2C94C #C8F24C
triadic
#F2C94C #4CF2C9 #C94CF2
tetradic
#F2C94C #4CF276 #4C75F2 #F24CC8
square
#F2C94C #4CF276 #4C75F2 #F24CC8
split-complementary
#F2C94C #4CC8F2 #764CF2
monochromatic
#B68D0D #EEB813 #F2C94C #F6DA85 #FAEBBE

Accessibility & contrast

On white

1.59
#F2C94C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#F2C94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2C94C
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2C94C#FFFFFF#000000##000000
##F2C94C1.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73C
Deuteranopia (green-blind)
#E9D252
Tritanopia (blue-blind)
#FFB9AF
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f2c94c;
/* rgb */ color: rgb(242, 201, 76);
/* oklch */ color: oklch(85.0% 0.146 90.5);
Tailwind
colors: {
  custom: {
    50: '#fad984',
    500: '#f2c94c',
    950: '#000000',
  },
}
SCSS
$custom: #f2c94c;
$custom-light: #fad984;
$custom-dark: #000000;
JSON
{
  "hex": "#f2c94c",
  "rgb": {
    "r": 242,
    "g": 201,
    "b": 76
  },
  "hsl": {
    "h": 45.181,
    "s": 86.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84958,
    "c": 0.14631,
    "h": 90.5
  },
  "luminance": 0.61172
}

Semantic roles & 50–950 ramp

primary
#F2C94C
secondary
#2D4EB6
accent
#3AE303
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F2C94C

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

Preview Lab → · Contrast checker → · Palette generator →

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