#F2DB8A#F2DB8A

#F2DB8A is a very light, moderate yellow. Relative luminance 0.714; OKLCH L 89.3% C 0.104 H 94.1°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#F2DB8A
RGBrgb(242, 219, 138)
HSLhsl(47, 80%, 75%)
HSVhsv(47, 43%, 95%)
CMYKcmyk(0%, 9.5%, 43%, 5.1%)
CIE-LABlab(87.67, -2.88, 42.64)
CIE-LCHlch(87.67, 42.73, 93.87°)
OKLaboklab(89.28% -0.0074 0.1037)
OKLCHoklch(89.28% 0.104 94.1)
XYZxyz(66.5386, 71.3777, 34.3122)
Luminance0.7137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB8A #8AA1F2
analogous
#F2A78A #F2DB8A #D5F28A
triadic
#F2DB8A #8AF2DB #DB8AF2
tetradic
#F2DB8A #8AF2A7 #8AA1F2 #F28AD5
square
#F2DB8A #8AF2A7 #8AA1F2 #F28AD5
split-complementary
#F2DB8A #8AD5F2 #A78AF2
monochromatic
#E6B91C #ECCA53 #F2DB8A #F8ECC1 #FCF7E3

Accessibility & contrast

On white

1.37
#F2DB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.28
#F2DB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB8A
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB8A#FFFFFF#000000##000000
##F2DB8A1.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD884
Deuteranopia (green-blind)
#F1DF8D
Tritanopia (blue-blind)
#FFCFC7
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2db8a;
/* rgb */ color: rgb(242, 219, 138);
/* oklch */ color: oklch(89.3% 0.104 94.1);
Tailwind
colors: {
  custom: {
    50: '#f8e6ad',
    500: '#f2db8a',
    950: '#000000',
  },
}
SCSS
$custom: #f2db8a;
$custom-light: #f8e6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db8a",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 138
  },
  "hsl": {
    "h": 46.731,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.89275,
    "c": 0.10396,
    "h": 94.1
  },
  "luminance": 0.71375
}

Semantic roles & 50–950 ramp

primary
#F2DB8A
secondary
#526DCE
accent
#38DC09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F2DB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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