#F2D06A#F2D06A

#F2D06A is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.6% C 0.127 H 91.2°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#F2D06A
RGBrgb(242, 208, 106)
HSLhsl(45, 84%, 68%)
HSVhsv(45, 56%, 95%)
CMYKcmyk(0%, 14%, 56.2%, 5.1%)
CIE-LABlab(84.50, -0.08, 54.28)
CIE-LCHlch(84.50, 54.28, 90.08°)
OKLaboklab(86.65% -0.0026 0.127)
OKLCHoklch(86.65% 0.127 91.2)
XYZxyz(61.7779, 65.0327, 22.9314)
Luminance0.6503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D06A #6A8CF2
analogous
#F28C6A #F2D06A #D0F26A
triadic
#F2D06A #6AF2D0 #D06AF2
tetradic
#F2D06A #6AF28C #6A8CF2 #F26AD0
square
#F2D06A #6AF28C #6A8CF2 #F26AD0
split-complementary
#F2D06A #6AD0F2 #8C6AF2
monochromatic
#CFA012 #EDBE32 #F2D06A #F7E2A2 #FCF4DB

Accessibility & contrast

On white

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

On black

14.01
#F2D06A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D06A
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D06A#FFFFFF#000000##000000
##F2D06A1.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD60
Deuteranopia (green-blind)
#ECD76E
Tritanopia (blue-blind)
#FFC2B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f2d06a;
/* rgb */ color: rgb(242, 208, 106);
/* oklch */ color: oklch(86.6% 0.127 91.2);
Tailwind
colors: {
  custom: {
    50: '#f9de97',
    500: '#f2d06a',
    950: '#000000',
  },
}
SCSS
$custom: #f2d06a;
$custom-light: #f9de97;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d06a",
  "rgb": {
    "r": 242,
    "g": 208,
    "b": 106
  },
  "hsl": {
    "h": 45,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.86645,
    "c": 0.12705,
    "h": 91.2
  },
  "luminance": 0.6503
}

Semantic roles & 50–950 ramp

primary
#F2D06A
secondary
#365BCB
accent
#3CE005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D06A

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

Preview Lab → · Contrast checker → · Palette generator →

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