#F2C04F#F2C04F

#F2C04F is a very light, vivid orange. Relative luminance 0.571; OKLCH L 83.2% C 0.140 H 84.7°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#F2C04F
RGBrgb(242, 192, 79)
HSLhsl(42, 86%, 63%)
HSVhsv(42, 67%, 95%)
CMYKcmyk(0%, 20.7%, 67.4%, 5.1%)
CIE-LABlab(80.26, 6.44, 61.70)
CIE-LCHlch(80.26, 62.03, 84.04°)
OKLaboklab(83.22% 0.013 0.1393)
OKLCHoklch(83.22% 0.14 84.7)
XYZxyz(56.8821, 57.1448, 15.4297)
Luminance0.5714 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2C04F #4F81F2
analogous
#F26E4F #F2C04F #D2F24F
triadic
#F2C04F #4FF2C0 #C04FF2
tetradic
#F2C04F #4FF26E #4F81F2 #F24FD2
square
#F2C04F #4FF26E #4F81F2 #F24FD2
split-complementary
#F2C04F #4FD2F2 #6E4FF2
monochromatic
#B9840E #EEAC16 #F2C04F #F6D488 #FAE9C1

Accessibility & contrast

On white

1.69
#F2C04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#F2C04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2C04F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2C04F#FFFFFF#000000##000000
##F2C04F1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF41
Deuteranopia (green-blind)
#E2CC54
Tritanopia (blue-blind)
#FFB0A8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #f2c04f;
/* rgb */ color: rgb(242, 192, 79);
/* oklch */ color: oklch(83.2% 0.140 84.7);
Tailwind
colors: {
  custom: {
    50: '#fad285',
    500: '#f2c04f',
    950: '#000000',
  },
}
SCSS
$custom: #f2c04f;
$custom-light: #fad285;
$custom-dark: #000000;
JSON
{
  "hex": "#f2c04f",
  "rgb": {
    "r": 242,
    "g": 192,
    "b": 79
  },
  "hsl": {
    "h": 41.595,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83224,
    "c": 0.13988,
    "h": 84.7
  },
  "luminance": 0.57141
}

Semantic roles & 50–950 ramp

primary
#F2C04F
secondary
#2D58B8
accent
#47E303
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F2C04F

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

Preview Lab → · Contrast checker → · Palette generator →

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