#F2DA7D#F2DA7D

#F2DA7D is a very light, moderate yellow. Relative luminance 0.705; OKLCH L 88.9% C 0.117 H 95.3°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#F2DA7D
RGBrgb(242, 218, 125)
HSLhsl(48, 82%, 72%)
HSVhsv(48, 48%, 95%)
CMYKcmyk(0%, 9.9%, 48.3%, 5.1%)
CIE-LABlab(87.24, -3.61, 48.50)
CIE-LCHlch(87.24, 48.63, 94.26°)
OKLaboklab(88.88% -0.0107 0.116)
OKLCHoklch(88.88% 0.117 95.3)
XYZxyz(65.3931, 70.5033, 29.5620)
Luminance0.7050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DA7D #7D95F2
analogous
#F2A07D #F2DA7D #D0F27D
triadic
#F2DA7D #7DF2DA #DA7DF2
tetradic
#F2DA7D #7DF2A0 #7D95F2 #F27DD0
square
#F2DA7D #7DF2A0 #7D95F2 #F27DD0
split-complementary
#F2DA7D #7DD0F2 #A07DF2
monochromatic
#DEB516 #ECCA45 #F2DA7D #F8EAB5 #FCF7E3

Accessibility & contrast

On white

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

On black

15.10
#F2DA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DA7D
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DA7D#FFFFFF#000000##000000
##F2DA7D1.001.3915.1015.10
#FFFFFF1.391.0021.0021.00
#00000015.1021.001.001.00
##00000015.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD675
Deuteranopia (green-blind)
#F1DE81
Tritanopia (blue-blind)
#FFCDC4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2da7d;
/* rgb */ color: rgb(242, 218, 125);
/* oklch */ color: oklch(88.9% 0.117 95.3);
Tailwind
colors: {
  custom: {
    50: '#f8e5a4',
    500: '#f2da7d',
    950: '#000000',
  },
}
SCSS
$custom: #f2da7d;
$custom-light: #f8e5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2da7d",
  "rgb": {
    "r": 242,
    "g": 218,
    "b": 125
  },
  "hsl": {
    "h": 47.692,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.88883,
    "c": 0.11653,
    "h": 95.3
  },
  "luminance": 0.70501
}

Semantic roles & 50–950 ramp

primary
#F2DA7D
secondary
#4662CD
accent
#33DE07
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F2DA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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