#F2C251#F2C251

#F2C251 is a very light, vivid orange. Relative luminance 0.581; OKLCH L 83.6% C 0.139 H 85.6°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#F2C251
RGBrgb(242, 194, 81)
HSLhsl(42, 86%, 63%)
HSVhsv(42, 67%, 95%)
CMYKcmyk(0%, 19.8%, 66.5%, 5.1%)
CIE-LABlab(80.77, 5.51, 61.38)
CIE-LCHlch(80.77, 61.63, 84.87°)
OKLaboklab(83.63% 0.0106 0.1389)
OKLCHoklch(83.63% 0.139 85.6)
XYZxyz(57.3981, 58.0586, 15.9662)
Luminance0.5806 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2C251 #5181F2
analogous
#F27151 #F2C251 #D1F251
triadic
#F2C251 #51F2C2 #C251F2
tetradic
#F2C251 #51F271 #5181F2 #F251D1
square
#F2C251 #51F271 #5181F2 #F251D1
split-complementary
#F2C251 #51D1F2 #7151F2
monochromatic
#BB870E #EEAE18 #F2C251 #F6D68A #FBEAC3

Accessibility & contrast

On white

1.67
#F2C251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#F2C251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2C251
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2C251#FFFFFF#000000##000000
##F2C2511.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C144
Deuteranopia (green-blind)
#E3CE56
Tritanopia (blue-blind)
#FFB2AA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #f2c251;
/* rgb */ color: rgb(242, 194, 81);
/* oklch */ color: oklch(83.6% 0.139 85.6);
Tailwind
colors: {
  custom: {
    50: '#fad487',
    500: '#f2c251',
    950: '#000000',
  },
}
SCSS
$custom: #f2c251;
$custom-light: #fad487;
$custom-dark: #000000;
JSON
{
  "hex": "#f2c251",
  "rgb": {
    "r": 242,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 42.112,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.83631,
    "c": 0.13933,
    "h": 85.6
  },
  "luminance": 0.58055
}

Semantic roles & 50–950 ramp

primary
#F2C251
secondary
#2E57B9
accent
#46E303
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #F2C251

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

Preview Lab → · Contrast checker → · Palette generator →

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