#F2D95C#F2D95C

#F2D95C is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.3% C 0.145 H 98.0°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#F2D95C
RGBrgb(242, 217, 92)
HSLhsl(50, 85%, 65%)
HSVhsv(50, 62%, 95%)
CMYKcmyk(0%, 10.3%, 62%, 5.1%)
CIE-LABlab(86.64, -5.63, 62.98)
CIE-LCHlch(86.64, 63.23, 95.11°)
OKLaboklab(88.3% -0.0202 0.144)
OKLCHoklch(88.3% 0.145 98)
XYZxyz(63.3653, 69.2785, 20.1575)
Luminance0.6928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D95C #5C75F2
analogous
#F28E5C #F2D95C #C0F25C
triadic
#F2D95C #5CF2D9 #D95CF2
tetradic
#F2D95C #5CF28E #5C75F2 #F25CC0
square
#F2D95C #5CF28E #5C75F2 #F25CC0
split-complementary
#F2D95C #5CC0F2 #8E5CF2
monochromatic
#C4A610 #EDCC23 #F2D95C #F7E695 #FBF3CD

Accessibility & contrast

On white

1.41
#F2D95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.86
#F2D95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D95C
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D95C#FFFFFF#000000##000000
##F2D95C1.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44E
Deuteranopia (green-blind)
#F3DD62
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d95c;
/* rgb */ color: rgb(242, 217, 92);
/* oklch */ color: oklch(88.3% 0.145 98.0);
Tailwind
colors: {
  custom: {
    50: '#fae48f',
    500: '#f2d95c',
    950: '#000000',
  },
}
SCSS
$custom: #f2d95c;
$custom-light: #fae48f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d95c",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 92
  },
  "hsl": {
    "h": 50,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.88295,
    "c": 0.14536,
    "h": 98
  },
  "luminance": 0.69276
}

Semantic roles & 50–950 ramp

primary
#F2D95C
secondary
#3149C1
accent
#29E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D95C

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

Preview Lab → · Contrast checker → · Palette generator →

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