#F2D85B#F2D85B

#F2D85B is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.145 H 97.5°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#F2D85B
RGBrgb(242, 216, 91)
HSLhsl(50, 85%, 65%)
HSVhsv(50, 62%, 95%)
CMYKcmyk(0%, 10.7%, 62.4%, 5.1%)
CIE-LABlab(86.38, -5.19, 63.12)
CIE-LCHlch(86.38, 63.34, 94.70°)
OKLaboklab(88.08% -0.0191 0.1441)
OKLCHoklch(88.08% 0.145 97.5)
XYZxyz(63.0649, 68.7472, 19.8432)
Luminance0.6874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D85B #5B75F2
analogous
#F28C5B #F2D85B #C0F25B
triadic
#F2D85B #5BF2D8 #D85BF2
tetradic
#F2D85B #5BF28C #5B75F2 #F25BC0
square
#F2D85B #5BF28C #5B75F2 #F25BC0
split-complementary
#F2D85B #5BC0F2 #8C5BF2
monochromatic
#C3A40F #EECB22 #F2D85B #F6E594 #FBF3CC

Accessibility & contrast

On white

1.42
#F2D85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#F2D85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D85B
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D85B#FFFFFF#000000##000000
##F2D85B1.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34D
Deuteranopia (green-blind)
#F3DC61
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d85b;
/* rgb */ color: rgb(242, 216, 91);
/* oklch */ color: oklch(88.1% 0.145 97.5);
Tailwind
colors: {
  custom: {
    50: '#fae38e',
    500: '#f2d85b',
    950: '#000000',
  },
}
SCSS
$custom: #f2d85b;
$custom-light: #fae38e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d85b",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 91
  },
  "hsl": {
    "h": 49.669,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.88084,
    "c": 0.14536,
    "h": 97.5
  },
  "luminance": 0.68744
}

Semantic roles & 50–950 ramp

primary
#F2D85B
secondary
#3149C1
accent
#2AE204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D85B

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

Preview Lab → · Contrast checker → · Palette generator →

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