#F2DA6B#F2DA6B

#F2DA6B is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.7% C 0.134 H 97.3°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#F2DA6B
RGBrgb(242, 218, 107)
HSLhsl(49, 84%, 68%)
HSVhsv(49, 56%, 95%)
CMYKcmyk(0%, 9.9%, 55.8%, 5.1%)
CIE-LABlab(87.04, -5.10, 56.76)
CIE-LCHlch(87.04, 56.99, 95.13°)
OKLaboklab(88.65% -0.017 0.1325)
OKLCHoklch(88.65% 0.134 97.3)
XYZxyz(64.3456, 70.0843, 24.0453)
Luminance0.7008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DA6B #6B83F2
analogous
#F2966B #F2DA6B #C7F26B
triadic
#F2DA6B #6BF2DA #DA6BF2
tetradic
#F2DA6B #6BF296 #6B83F2 #F26BC7
square
#F2DA6B #6BF296 #6B83F2 #F26BC7
split-complementary
#F2DA6B #6BC7F2 #966BF2
monochromatic
#D0AF12 #EDCC33 #F2DA6B #F7E8A3 #FCF6DC

Accessibility & contrast

On white

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

On black

15.02
#F2DA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DA6B
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DA6B#FFFFFF#000000##000000
##F2DA6B1.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD560
Deuteranopia (green-blind)
#F3DE70
Tritanopia (blue-blind)
#FFCCC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2da6b;
/* rgb */ color: rgb(242, 218, 107);
/* oklch */ color: oklch(88.7% 0.134 97.3);
Tailwind
colors: {
  custom: {
    50: '#f9e598',
    500: '#f2da6b',
    950: '#000000',
  },
}
SCSS
$custom: #f2da6b;
$custom-light: #f9e598;
$custom-dark: #000000;
JSON
{
  "hex": "#f2da6b",
  "rgb": {
    "r": 242,
    "g": 218,
    "b": 107
  },
  "hsl": {
    "h": 49.333,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.88654,
    "c": 0.13356,
    "h": 97.3
  },
  "luminance": 0.70082
}

Semantic roles & 50–950 ramp

primary
#F2DA6B
secondary
#3651CB
accent
#2CE005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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