#F2CF97#F2CF97

#F2CF97 is a very light, moderate orange. Relative luminance 0.657; OKLCH L 87.1% C 0.082 H 79.1°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#F2CF97
RGBrgb(242, 207, 151)
HSLhsl(37, 78%, 77%)
HSVhsv(37, 38%, 95%)
CMYKcmyk(0%, 14.5%, 37.6%, 5.1%)
CIE-LABlab(84.86, 4.67, 32.40)
CIE-LCHlch(84.86, 32.73, 81.80°)
OKLaboklab(87.13% 0.0156 0.0806)
OKLCHoklch(87.13% 0.082 79.1)
XYZxyz(64.5183, 65.7400, 38.5628)
Luminance0.6574 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CF97 #97BAF2
analogous
#F2A297 #F2CF97 #E8F297
triadic
#F2CF97 #97F2CF #CF97F2
tetradic
#F2CF97 #97F2A2 #97BAF2 #F297E8
square
#F2CF97 #97F2A2 #97BAF2 #F297E8
split-complementary
#F2CF97 #97E8F2 #A297F2
monochromatic
#E49D2A #EBB661 #F2CF97 #F9E8CD #FCF2E4

Accessibility & contrast

On white

1.48
#F2CF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#F2CF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CF97
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CF97#FFFFFF#000000##000000
##F2CF971.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECF93
Deuteranopia (green-blind)
#E6D798
Tritanopia (blue-blind)
#FFC5C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2cf97;
/* rgb */ color: rgb(242, 207, 151);
/* oklch */ color: oklch(87.1% 0.082 79.1);
Tailwind
colors: {
  custom: {
    50: '#f8ddb6',
    500: '#f2cf97',
    950: '#000000',
  },
}
SCSS
$custom: #f2cf97;
$custom-light: #f8ddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cf97",
  "rgb": {
    "r": 242,
    "g": 207,
    "b": 151
  },
  "hsl": {
    "h": 36.923,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.8713,
    "c": 0.08208,
    "h": 79.1
  },
  "luminance": 0.65737
}

Semantic roles & 50–950 ramp

primary
#F2CF97
secondary
#5E89CF
accent
#5BDA0B
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #F2CF97

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

Preview Lab → · Contrast checker → · Palette generator →

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