#F2C151#F2C151

#F2C151 is a very light, vivid orange. Relative luminance 0.576; OKLCH L 83.4% C 0.139 H 85.0°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#F2C151
RGBrgb(242, 193, 81)
HSLhsl(42, 86%, 63%)
HSVhsv(42, 67%, 95%)
CMYKcmyk(0%, 20.2%, 66.5%, 5.1%)
CIE-LABlab(80.52, 6.03, 61.12)
CIE-LCHlch(80.52, 61.42, 84.37°)
OKLaboklab(83.44% 0.0121 0.1384)
OKLCHoklch(83.44% 0.139 85)
XYZxyz(57.1763, 57.6150, 15.8923)
Luminance0.5761 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2C151 #5182F2
analogous
#F27051 #F2C151 #D2F251
triadic
#F2C151 #51F2C1 #C151F2
tetradic
#F2C151 #51F270 #5182F2 #F251D2
square
#F2C151 #51F270 #5182F2 #F251D2
split-complementary
#F2C151 #51D2F2 #7051F2
monochromatic
#BB860E #EEAD18 #F2C151 #F6D58A #FBEAC3

Accessibility & contrast

On white

1.68
#F2C151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#F2C151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2C151
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2C151#FFFFFF#000000##000000
##F2C1511.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C044
Deuteranopia (green-blind)
#E3CD56
Tritanopia (blue-blind)
#FFB1A9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #f2c151;
/* rgb */ color: rgb(242, 193, 81);
/* oklch */ color: oklch(83.4% 0.139 85.0);
Tailwind
colors: {
  custom: {
    50: '#fad387',
    500: '#f2c151',
    950: '#000000',
  },
}
SCSS
$custom: #f2c151;
$custom-light: #fad387;
$custom-dark: #000000;
JSON
{
  "hex": "#f2c151",
  "rgb": {
    "r": 242,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 41.739,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.83436,
    "c": 0.1389,
    "h": 85
  },
  "luminance": 0.57611
}

Semantic roles & 50–950 ramp

primary
#F2C151
secondary
#2E58B9
accent
#47E303
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #F2C151

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

Preview Lab → · Contrast checker → · Palette generator →

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