#F2DF67#F2DF67

#F2DF67 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.6% C 0.141 H 100.4°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#F2DF67
RGBrgb(242, 223, 103)
HSLhsl(52, 84%, 68%)
HSVhsv(52, 57%, 95%)
CMYKcmyk(0%, 7.9%, 57.4%, 5.1%)
CIE-LABlab(88.27, -7.91, 59.98)
CIE-LCHlch(88.27, 60.50, 97.51°)
OKLaboklab(89.62% -0.0255 0.139)
OKLCHoklch(89.62% 0.141 100.4)
XYZxyz(65.4562, 72.6345, 23.4013)
Luminance0.7263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF67 #677AF2
analogous
#F29A67 #F2DF67 #BFF267
triadic
#F2DF67 #67F2DF #DF67F2
tetradic
#F2DF67 #67F29A #677AF2 #F267BF
square
#F2DF67 #67F29A #677AF2 #F267BF
split-complementary
#F2DF67 #67BFF2 #9A67F2
monochromatic
#CDB312 #EDD32F #F2DF67 #F7EB9F #FCF7D8

Accessibility & contrast

On white

1.35
#F2DF67 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#F2DF67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF67
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF67#FFFFFF#000000##000000
##F2DF671.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D95B
Deuteranopia (green-blind)
#F7E16D
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2df67;
/* rgb */ color: rgb(242, 223, 103);
/* oklch */ color: oklch(89.6% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#f9e896',
    500: '#f2df67',
    950: '#000000',
  },
}
SCSS
$custom: #f2df67;
$custom-light: #f9e896;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df67",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 103
  },
  "hsl": {
    "h": 51.799,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.8962,
    "c": 0.14127,
    "h": 100.4
  },
  "luminance": 0.72632
}

Semantic roles & 50–950 ramp

primary
#F2DF67
secondary
#3448C9
accent
#23E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DF67

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

Preview Lab → · Contrast checker → · Palette generator →

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