#F2DA7A#F2DA7A

#F2DA7A is a very light, moderate yellow. Relative luminance 0.704; OKLCH L 88.8% C 0.119 H 95.7°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#F2DA7A
RGBrgb(242, 218, 122)
HSLhsl(48, 82%, 71%)
HSVhsv(48, 50%, 95%)
CMYKcmyk(0%, 9.9%, 49.6%, 5.1%)
CIE-LABlab(87.21, -3.88, 49.90)
CIE-LCHlch(87.21, 50.06, 94.44°)
OKLaboklab(88.84% -0.0118 0.1189)
OKLCHoklch(88.84% 0.12 95.7)
XYZxyz(65.2043, 70.4278, 28.5679)
Luminance0.7043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DA7A #7A92F2
analogous
#F29E7A #F2DA7A #CEF27A
triadic
#F2DA7A #7AF2DA #DA7AF2
tetradic
#F2DA7A #7AF29E #7A92F2 #F27ACE
square
#F2DA7A #7AF29E #7A92F2 #F27ACE
split-complementary
#F2DA7A #7ACEF2 #9E7AF2
monochromatic
#DCB416 #EDCA42 #F2DA7A #F7EAB2 #FCF7E3

Accessibility & contrast

On white

1.39
#F2DA7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#F2DA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DA7A
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DA7A#FFFFFF#000000##000000
##F2DA7A1.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD672
Deuteranopia (green-blind)
#F2DE7E
Tritanopia (blue-blind)
#FFCDC3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2da7a;
/* rgb */ color: rgb(242, 218, 122);
/* oklch */ color: oklch(88.8% 0.119 95.7);
Tailwind
colors: {
  custom: {
    50: '#f8e5a2',
    500: '#f2da7a',
    950: '#000000',
  },
}
SCSS
$custom: #f2da7a;
$custom-light: #f8e5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2da7a",
  "rgb": {
    "r": 242,
    "g": 218,
    "b": 122
  },
  "hsl": {
    "h": 48,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88842,
    "c": 0.1195,
    "h": 95.7
  },
  "luminance": 0.70425
}

Semantic roles & 50–950 ramp

primary
#F2DA7A
secondary
#445FCD
accent
#32DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2DA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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