#F2C456#F2C456

#F2C456 is a very light, vivid orange. Relative luminance 0.590; OKLCH L 84.1% C 0.137 H 86.2°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#F2C456
RGBrgb(242, 196, 86)
HSLhsl(42, 86%, 64%)
HSVhsv(42, 64%, 95%)
CMYKcmyk(0%, 19%, 64.5%, 5.1%)
CIE-LABlab(81.31, 4.76, 59.79)
CIE-LCHlch(81.31, 59.98, 85.45°)
OKLaboklab(84.07% 0.009 0.1363)
OKLCHoklch(84.07% 0.137 86.2)
XYZxyz(58.0407, 59.0326, 17.1397)
Luminance0.5903 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2C456 #5684F2
analogous
#F27656 #F2C456 #D2F256
triadic
#F2C456 #56F2C4 #C456F2
tetradic
#F2C456 #56F276 #5684F2 #F256D2
square
#F2C456 #56F276 #5684F2 #F256D2
split-complementary
#F2C456 #56D2F2 #7656F2
monochromatic
#BF8B0F #EEB01D #F2C456 #F6D88F #FBECC8

Accessibility & contrast

On white

1.64
#F2C456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#F2C456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2C456
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2C456#FFFFFF#000000##000000
##F2C4561.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34A
Deuteranopia (green-blind)
#E5CF5A
Tritanopia (blue-blind)
#FFB4AC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #f2c456;
/* rgb */ color: rgb(242, 196, 86);
/* oklch */ color: oklch(84.1% 0.137 86.2);
Tailwind
colors: {
  custom: {
    50: '#fad58a',
    500: '#f2c456',
    950: '#000000',
  },
}
SCSS
$custom: #f2c456;
$custom-light: #fad58a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2c456",
  "rgb": {
    "r": 242,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 42.308,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84068,
    "c": 0.1366,
    "h": 86.2
  },
  "luminance": 0.59029
}

Semantic roles & 50–950 ramp

primary
#F2C456
secondary
#2F59BD
accent
#45E203
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F2C456

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

Preview Lab → · Contrast checker → · Palette generator →

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