#F2CD3F#F2CD3F

#F2CD3F is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.7% C 0.157 H 93.8°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#F2CD3F
RGBrgb(242, 205, 63)
HSLhsl(48, 87%, 60%)
HSVhsv(48, 74%, 95%)
CMYKcmyk(0%, 15.3%, 74%, 5.1%)
CIE-LABlab(83.39, -1.05, 71.10)
CIE-LCHlch(83.39, 71.11, 90.84°)
OKLaboklab(85.66% -0.0103 0.1564)
OKLCHoklch(85.66% 0.157 93.8)
XYZxyz(59.3497, 62.9022, 13.7170)
Luminance0.6290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CD3F #3F64F2
analogous
#F2743F #F2CD3F #BDF23F
triadic
#F2CD3F #3FF2CD #CD3FF2
tetradic
#F2CD3F #3FF274 #3F64F2 #F23FBD
square
#F2CD3F #3FF274 #3F64F2 #F23FBD
split-complementary
#F2CD3F #3FBDF2 #743FF2
monochromatic
#AB8A0C #E4B80F #F2CD3F #F6DC78 #FAEBB2

Accessibility & contrast

On white

1.55
#F2CD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#F2CD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CD3F
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CD3F#FFFFFF#000000##000000
##F2CD3F1.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C926
Deuteranopia (green-blind)
#ECD447
Tritanopia (blue-blind)
#FFBDB1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f2cd3f;
/* rgb */ color: rgb(242, 205, 63);
/* oklch */ color: oklch(85.7% 0.157 93.8);
Tailwind
colors: {
  custom: {
    50: '#fbdb7e',
    500: '#f2cd3f',
    950: '#000000',
  },
}
SCSS
$custom: #f2cd3f;
$custom-light: #fbdb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cd3f",
  "rgb": {
    "r": 242,
    "g": 205,
    "b": 63
  },
  "hsl": {
    "h": 47.598,
    "s": 87.317,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85655,
    "c": 0.1567,
    "h": 93.8
  },
  "luminance": 0.62899
}

Semantic roles & 50–950 ramp

primary
#F2CD3F
secondary
#2944AC
accent
#56FD2A
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140A
muted
#86837D

Preview Lab

Preview with #F2CD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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