#F2DA72#F2DA72

#F2DA72 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.7% C 0.127 H 96.6°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#F2DA72
RGBrgb(242, 218, 114)
HSLhsl(49, 83%, 70%)
HSVhsv(49, 53%, 95%)
CMYKcmyk(0%, 9.9%, 52.9%, 5.1%)
CIE-LABlab(87.11, -4.55, 53.60)
CIE-LCHlch(87.11, 53.79, 94.85°)
OKLaboklab(88.74% -0.0146 0.1263)
OKLCHoklch(88.74% 0.127 96.6)
XYZxyz(64.7289, 70.2377, 26.0640)
Luminance0.7024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DA72 #728AF2
analogous
#F29A72 #F2DA72 #CAF272
triadic
#F2DA72 #72F2DA #DA72F2
tetradic
#F2DA72 #72F29A #728AF2 #F272CA
square
#F2DA72 #72F29A #728AF2 #F272CA
split-complementary
#F2DA72 #72CAF2 #9A72F2
monochromatic
#D6B114 #EDCB3A #F2DA72 #F7E9AA #FCF7E2

Accessibility & contrast

On white

1.40
#F2DA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#F2DA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DA72
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DA72#FFFFFF#000000##000000
##F2DA721.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD668
Deuteranopia (green-blind)
#F2DE76
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2da72;
/* rgb */ color: rgb(242, 218, 114);
/* oklch */ color: oklch(88.7% 0.127 96.6);
Tailwind
colors: {
  custom: {
    50: '#f9e59d',
    500: '#f2da72',
    950: '#000000',
  },
}
SCSS
$custom: #f2da72;
$custom-light: #f9e59d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2da72",
  "rgb": {
    "r": 242,
    "g": 218,
    "b": 114
  },
  "hsl": {
    "h": 48.75,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88738,
    "c": 0.12717,
    "h": 96.6
  },
  "luminance": 0.70235
}

Semantic roles & 50–950 ramp

primary
#F2DA72
secondary
#3D57CC
accent
#2FE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DA72

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

Preview Lab → · Contrast checker → · Palette generator →

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