#F2D47A#F2D47A

#F2D47A is a very light, moderate yellow. Relative luminance 0.674; OKLCH L 87.6% C 0.115 H 91.5°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#F2D47A
RGBrgb(242, 212, 122)
HSLhsl(45, 82%, 71%)
HSVhsv(45, 50%, 95%)
CMYKcmyk(0%, 12.4%, 49.6%, 5.1%)
CIE-LABlab(85.69, -0.82, 48.06)
CIE-LCHlch(85.69, 48.07, 90.98°)
OKLaboklab(87.65% -0.003 0.1148)
OKLCHoklch(87.65% 0.115 91.5)
XYZxyz(63.6765, 67.3722, 28.0586)
Luminance0.6737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D47A #7A98F2
analogous
#F2987A #F2D47A #D4F27A
triadic
#F2D47A #7AF2D4 #D47AF2
tetradic
#F2D47A #7AF298 #7A98F2 #F27AD4
square
#F2D47A #7AF298 #7A98F2 #F27AD4
split-complementary
#F2D47A #7AD4F2 #987AF2
monochromatic
#DCAA16 #EDC242 #F2D47A #F7E6B2 #FCF6E3

Accessibility & contrast

On white

1.45
#F2D47A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.47
#F2D47A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D47A
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D47A#FFFFFF#000000##000000
##F2D47A1.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D172
Deuteranopia (green-blind)
#EDDA7D
Tritanopia (blue-blind)
#FFC7BF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d47a;
/* rgb */ color: rgb(242, 212, 122);
/* oklch */ color: oklch(87.6% 0.115 91.5);
Tailwind
colors: {
  custom: {
    50: '#f8e1a2',
    500: '#f2d47a',
    950: '#000000',
  },
}
SCSS
$custom: #f2d47a;
$custom-light: #f8e1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d47a",
  "rgb": {
    "r": 242,
    "g": 212,
    "b": 122
  },
  "hsl": {
    "h": 45,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.87645,
    "c": 0.11487,
    "h": 91.5
  },
  "luminance": 0.67369
}

Semantic roles & 50–950 ramp

primary
#F2D47A
secondary
#4466CD
accent
#3DDF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D47A

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

Preview Lab → · Contrast checker → · Palette generator →

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