#F2D155#F2D155

#F2D155 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.6% C 0.145 H 94.2°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#F2D155
RGBrgb(242, 209, 85)
HSLhsl(47, 86%, 64%)
HSVhsv(47, 65%, 95%)
CMYKcmyk(0%, 13.6%, 64.9%, 5.1%)
CIE-LABlab(84.55, -1.99, 63.71)
CIE-LCHlch(84.55, 63.74, 91.79°)
OKLaboklab(86.62% -0.0106 0.1445)
OKLCHoklch(86.62% 0.145 94.2)
XYZxyz(61.0610, 65.1372, 17.9491)
Luminance0.6513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D155 #5576F2
analogous
#F28355 #F2D155 #C4F255
triadic
#F2D155 #55F2D1 #D155F2
tetradic
#F2D155 #55F283 #5576F2 #F255C4
square
#F2D155 #55F283 #5576F2 #F255C4
split-complementary
#F2D155 #55C4F2 #8355F2
monochromatic
#BE990F #EEC21C #F2D155 #F6E08E #FBF0C7

Accessibility & contrast

On white

1.50
#F2D155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#F2D155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D155
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D155#FFFFFF#000000##000000
##F2D1551.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD46
Deuteranopia (green-blind)
#EED75B
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f2d155;
/* rgb */ color: rgb(242, 209, 85);
/* oklch */ color: oklch(86.6% 0.145 94.2);
Tailwind
colors: {
  custom: {
    50: '#fade8a',
    500: '#f2d155',
    950: '#000000',
  },
}
SCSS
$custom: #f2d155;
$custom-light: #fade8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d155",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 85
  },
  "hsl": {
    "h": 47.389,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86624,
    "c": 0.14487,
    "h": 94.2
  },
  "luminance": 0.65134
}

Semantic roles & 50–950 ramp

primary
#F2D155
secondary
#2F4DBC
accent
#32E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D155

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

Preview Lab → · Contrast checker → · Palette generator →

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