#F2CF5B#F2CF5B

#F2CF5B is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 86.3% C 0.139 H 92.4°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#F2CF5B
RGBrgb(242, 207, 91)
HSLhsl(46, 85%, 65%)
HSVhsv(46, 62%, 95%)
CMYKcmyk(0%, 14.5%, 62.4%, 5.1%)
CIE-LABlab(84.10, -0.61, 60.64)
CIE-LCHlch(84.10, 60.64, 90.57°)
OKLaboklab(86.28% -0.0059 0.1388)
OKLCHoklch(86.28% 0.139 92.4)
XYZxyz(60.8220, 64.2615, 19.0956)
Luminance0.6426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CF5B #5B7EF2
analogous
#F2845B #F2CF5B #C9F25B
triadic
#F2CF5B #5BF2CF #CF5BF2
tetradic
#F2CF5B #5BF284 #5B7EF2 #F25BC9
square
#F2CF5B #5BF284 #5B7EF2 #F25BC9
split-complementary
#F2CF5B #5BC9F2 #845BF2
monochromatic
#C3990F #EEBE22 #F2CF5B #F6E094 #FBF0CC

Accessibility & contrast

On white

1.52
#F2CF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#F2CF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CF5B
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CF5B#FFFFFF#000000##000000
##F2CF5B1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC4E
Deuteranopia (green-blind)
#ECD660
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f2cf5b;
/* rgb */ color: rgb(242, 207, 91);
/* oklch */ color: oklch(86.3% 0.139 92.4);
Tailwind
colors: {
  custom: {
    50: '#fadd8e',
    500: '#f2cf5b',
    950: '#000000',
  },
}
SCSS
$custom: #f2cf5b;
$custom-light: #fadd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cf5b",
  "rgb": {
    "r": 242,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 46.093,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.86283,
    "c": 0.13895,
    "h": 92.4
  },
  "luminance": 0.64258
}

Semantic roles & 50–950 ramp

primary
#F2CF5B
secondary
#3152C1
accent
#37E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2CF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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