#F2CD97#F2CD97

#F2CD97 is a very light, moderate orange. Relative luminance 0.648; OKLCH L 86.7% C 0.081 H 76.8°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#F2CD97
RGBrgb(242, 205, 151)
HSLhsl(36, 78%, 77%)
HSVhsv(36, 38%, 95%)
CMYKcmyk(0%, 15.3%, 37.6%, 5.1%)
CIE-LABlab(84.37, 5.71, 31.74)
CIE-LCHlch(84.37, 32.25, 79.81°)
OKLaboklab(86.74% 0.0186 0.0791)
OKLCHoklch(86.74% 0.081 76.8)
XYZxyz(64.0368, 64.7770, 38.4023)
Luminance0.6477 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CD97 #97BCF2
analogous
#F2A097 #F2CD97 #EAF297
triadic
#F2CD97 #97F2CD #CD97F2
tetradic
#F2CD97 #97F2A0 #97BCF2 #F297EA
square
#F2CD97 #97F2A0 #97BCF2 #F297EA
split-complementary
#F2CD97 #97EAF2 #A097F2
monochromatic
#E4992A #EBB361 #F2CD97 #F9E7CD #FCF2E4

Accessibility & contrast

On white

1.50
#F2CD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#F2CD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CD97
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CD97#FFFFFF#000000##000000
##F2CD971.001.5013.9513.95
#FFFFFF1.501.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCD93
Deuteranopia (green-blind)
#E5D698
Tritanopia (blue-blind)
#FFC3BF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f2cd97;
/* rgb */ color: rgb(242, 205, 151);
/* oklch */ color: oklch(86.7% 0.081 76.8);
Tailwind
colors: {
  custom: {
    50: '#f8dcb6',
    500: '#f2cd97',
    950: '#000000',
  },
}
SCSS
$custom: #f2cd97;
$custom-light: #f8dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cd97",
  "rgb": {
    "r": 242,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 35.604,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.86742,
    "c": 0.08121,
    "h": 76.8
  },
  "luminance": 0.64774
}

Semantic roles & 50–950 ramp

primary
#F2CD97
secondary
#5E8CCF
accent
#5FDA0B
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#171511
muted
#858481

Preview Lab

Preview with #F2CD97

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

Preview Lab → · Contrast checker → · Palette generator →

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