#F2C74F#F2C74F

#F2C74F is a very light, vivid orange. Relative luminance 0.603; OKLCH L 84.6% C 0.143 H 89.0°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#F2C74F
RGBrgb(242, 199, 79)
HSLhsl(44, 86%, 63%)
HSVhsv(44, 67%, 95%)
CMYKcmyk(0%, 17.8%, 67.4%, 5.1%)
CIE-LABlab(82.00, 2.81, 63.52)
CIE-LCHlch(82.00, 63.58, 87.47°)
OKLaboklab(84.59% 0.0025 0.1431)
OKLCHoklch(84.59% 0.143 89)
XYZxyz(58.4558, 60.2922, 15.9542)
Luminance0.6029 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2C74F #4F7AF2
analogous
#F2764F #F2C74F #CBF24F
triadic
#F2C74F #4FF2C7 #C74FF2
tetradic
#F2C74F #4FF276 #4F7AF2 #F24FCB
square
#F2C74F #4FF276 #4F7AF2 #F24FCB
split-complementary
#F2C74F #4FCBF2 #764FF2
monochromatic
#B98C0E #EEB516 #F2C74F #F6D988 #FAEBC1

Accessibility & contrast

On white

1.61
#F2C74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#F2C74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2C74F
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2C74F#FFFFFF#000000##000000
##F2C74F1.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC540
Deuteranopia (green-blind)
#E7D155
Tritanopia (blue-blind)
#FFB7AE
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #f2c74f;
/* rgb */ color: rgb(242, 199, 79);
/* oklch */ color: oklch(84.6% 0.143 89.0);
Tailwind
colors: {
  custom: {
    50: '#fad786',
    500: '#f2c74f',
    950: '#000000',
  },
}
SCSS
$custom: #f2c74f;
$custom-light: #fad786;
$custom-dark: #000000;
JSON
{
  "hex": "#f2c74f",
  "rgb": {
    "r": 242,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 44.172,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8459,
    "c": 0.14316,
    "h": 89
  },
  "luminance": 0.60289
}

Semantic roles & 50–950 ramp

primary
#F2C74F
secondary
#2D52B8
accent
#3EE303
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140B
muted
#86837E

Preview Lab

Preview with #F2C74F

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

Preview Lab → · Contrast checker → · Palette generator →

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