#F2DA7B#F2DA7B

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

Color values

HEX#F2DA7B
RGBrgb(242, 218, 123)
HSLhsl(48, 82%, 72%)
HSVhsv(48, 49%, 95%)
CMYKcmyk(0%, 9.9%, 49.2%, 5.1%)
CIE-LABlab(87.22, -3.79, 49.44)
CIE-LCHlch(87.22, 49.58, 94.38°)
OKLaboklab(88.85% -0.0115 0.118)
OKLCHoklch(88.85% 0.119 95.6)
XYZxyz(65.2666, 70.4527, 28.8959)
Luminance0.7045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DA7B #7B93F2
analogous
#F29F7B #F2DA7B #CFF27B
triadic
#F2DA7B #7BF2DA #DA7BF2
tetradic
#F2DA7B #7BF29F #7B93F2 #F27BCF
square
#F2DA7B #7BF29F #7B93F2 #F27BCF
split-complementary
#F2DA7B #7BCFF2 #9F7BF2
monochromatic
#DDB516 #EDCA43 #F2DA7B #F7EAB3 #FCF7E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2DA7B#FFFFFF#000000##000000
##F2DA7B1.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)
#EBD673
Deuteranopia (green-blind)
#F2DE7F
Tritanopia (blue-blind)
#FFCDC4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2da7b;
/* rgb */ color: rgb(242, 218, 123);
/* oklch */ color: oklch(88.9% 0.119 95.6);
Tailwind
colors: {
  custom: {
    50: '#f8e5a3',
    500: '#f2da7b',
    950: '#000000',
  },
}
SCSS
$custom: #f2da7b;
$custom-light: #f8e5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2da7b",
  "rgb": {
    "r": 242,
    "g": 218,
    "b": 123
  },
  "hsl": {
    "h": 47.899,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.88855,
    "c": 0.11852,
    "h": 95.6
  },
  "luminance": 0.7045
}

Semantic roles & 50–950 ramp

primary
#F2DA7B
secondary
#4560CD
accent
#32DE07
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F2DA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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