#F2D764#F2D764

#F2D764 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 88.0% C 0.137 H 96.2°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#F2D764
RGBrgb(242, 215, 100)
HSLhsl(49, 85%, 67%)
HSVhsv(49, 59%, 95%)
CMYKcmyk(0%, 11.2%, 58.7%, 5.1%)
CIE-LABlab(86.21, -4.09, 58.99)
CIE-LCHlch(86.21, 59.13, 93.96°)
OKLaboklab(87.97% -0.0149 0.1365)
OKLCHoklch(87.97% 0.137 96.2)
XYZxyz(63.2212, 68.4011, 21.9268)
Luminance0.6840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D764 #647FF2
analogous
#F29064 #F2D764 #C6F264
triadic
#F2D764 #64F2D7 #D764F2
tetradic
#F2D764 #64F290 #647FF2 #F264C6
square
#F2D764 #64F290 #647FF2 #F264C6
split-complementary
#F2D764 #64C6F2 #9064F2
monochromatic
#CBA711 #EDC82C #F2D764 #F7E69C #FBF4D5

Accessibility & contrast

On white

1.43
#F2D764 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.68
#F2D764 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D764
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D764#FFFFFF#000000##000000
##F2D7641.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD358
Deuteranopia (green-blind)
#F1DB69
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d764;
/* rgb */ color: rgb(242, 215, 100);
/* oklch */ color: oklch(88.0% 0.137 96.2);
Tailwind
colors: {
  custom: {
    50: '#f9e394',
    500: '#f2d764',
    950: '#000000',
  },
}
SCSS
$custom: #f2d764;
$custom-light: #f9e394;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d764",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 100
  },
  "hsl": {
    "h": 48.592,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87974,
    "c": 0.13728,
    "h": 96.2
  },
  "luminance": 0.68398
}

Semantic roles & 50–950 ramp

primary
#F2D764
secondary
#334FC7
accent
#2EE105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D764

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

Preview Lab → · Contrast checker → · Palette generator →

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