#F2D455#F2D455

#F2D455 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.2% C 0.147 H 95.8°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#F2D455
RGBrgb(242, 212, 85)
HSLhsl(49, 86%, 64%)
HSVhsv(49, 65%, 95%)
CMYKcmyk(0%, 12.4%, 64.9%, 5.1%)
CIE-LABlab(85.31, -3.52, 64.51)
CIE-LCHlch(85.31, 64.61, 93.12°)
OKLaboklab(87.22% -0.015 0.1462)
OKLCHoklch(87.22% 0.147 95.8)
XYZxyz(61.8040, 66.6232, 18.1967)
Luminance0.6662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D455 #5573F2
analogous
#F28655 #F2D455 #C2F255
triadic
#F2D455 #55F2D4 #D455F2
tetradic
#F2D455 #55F286 #5573F2 #F255C2
square
#F2D455 #55F286 #5573F2 #F255C2
split-complementary
#F2D455 #55C2F2 #8655F2
monochromatic
#BE9D0F #EEC61C #F2D455 #F6E28E #FBF1C7

Accessibility & contrast

On white

1.47
#F2D455 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.32
#F2D455 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D455
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D455#FFFFFF#000000##000000
##F2D4551.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D046
Deuteranopia (green-blind)
#F0D95B
Tritanopia (blue-blind)
#FFC5B9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d455;
/* rgb */ color: rgb(242, 212, 85);
/* oklch */ color: oklch(87.2% 0.147 95.8);
Tailwind
colors: {
  custom: {
    50: '#fae08a',
    500: '#f2d455',
    950: '#000000',
  },
}
SCSS
$custom: #f2d455;
$custom-light: #fae08a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d455",
  "rgb": {
    "r": 242,
    "g": 212,
    "b": 85
  },
  "hsl": {
    "h": 48.535,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87224,
    "c": 0.14695,
    "h": 95.8
  },
  "luminance": 0.6662
}

Semantic roles & 50–950 ramp

primary
#F2D455
secondary
#2F4ABC
accent
#2EE203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D455

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

Preview Lab → · Contrast checker → · Palette generator →

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