#F2C54F#F2C54F

#F2C54F is a very light, vivid orange. Relative luminance 0.594; OKLCH L 84.2% C 0.142 H 87.8°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#F2C54F
RGBrgb(242, 197, 79)
HSLhsl(43, 86%, 63%)
HSVhsv(43, 67%, 95%)
CMYKcmyk(0%, 18.6%, 67.4%, 5.1%)
CIE-LABlab(81.50, 3.84, 63.00)
CIE-LCHlch(81.50, 63.12, 86.51°)
OKLaboklab(84.2% 0.0055 0.142)
OKLCHoklch(84.2% 0.142 87.8)
XYZxyz(57.9987, 59.3779, 15.8019)
Luminance0.5937 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2C54F #4F7CF2
analogous
#F2744F #F2C54F #CDF24F
triadic
#F2C54F #4FF2C5 #C54FF2
tetradic
#F2C54F #4FF274 #4F7CF2 #F24FCD
square
#F2C54F #4FF274 #4F7CF2 #F24FCD
split-complementary
#F2C54F #4FCDF2 #744FF2
monochromatic
#B98A0E #EEB216 #F2C54F #F6D888 #FAEBC1

Accessibility & contrast

On white

1.63
#F2C54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#F2C54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2C54F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2C54F#FFFFFF#000000##000000
##F2C54F1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC340
Deuteranopia (green-blind)
#E6D054
Tritanopia (blue-blind)
#FFB5AC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #f2c54f;
/* rgb */ color: rgb(242, 197, 79);
/* oklch */ color: oklch(84.2% 0.142 87.8);
Tailwind
colors: {
  custom: {
    50: '#fad686',
    500: '#f2c54f',
    950: '#000000',
  },
}
SCSS
$custom: #f2c54f;
$custom-light: #fad686;
$custom-dark: #000000;
JSON
{
  "hex": "#f2c54f",
  "rgb": {
    "r": 242,
    "g": 197,
    "b": 79
  },
  "hsl": {
    "h": 43.436,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84198,
    "c": 0.14214,
    "h": 87.8
  },
  "luminance": 0.59374
}

Semantic roles & 50–950 ramp

primary
#F2C54F
secondary
#2D54B8
accent
#41E303
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F2C54F

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

Preview Lab → · Contrast checker → · Palette generator →

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