#F2D285#F2D285

#F2D285 is a very light, moderate orange. Relative luminance 0.667; OKLCH L 87.4% C 0.102 H 87.7°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#F2D285
RGBrgb(242, 210, 133)
HSLhsl(42, 81%, 74%)
HSVhsv(42, 45%, 95%)
CMYKcmyk(0%, 13.2%, 45%, 5.1%)
CIE-LABlab(85.34, 1.23, 42.18)
CIE-LCHlch(85.34, 42.20, 88.33°)
OKLaboklab(87.41% 0.0041 0.1024)
OKLCHoklch(87.41% 0.102 87.7)
XYZxyz(63.9002, 66.6667, 31.6878)
Luminance0.6666 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D285 #85A5F2
analogous
#F29B85 #F2D285 #DCF285
triadic
#F2D285 #85F2D2 #D285F2
tetradic
#F2D285 #85F29B #85A5F2 #F285DC
square
#F2D285 #85F29B #85A5F2 #F285DC
split-complementary
#F2D285 #85DCF2 #9B85F2
monochromatic
#E4A818 #ECBE4E #F2D285 #F8E6BC #FCF5E3

Accessibility & contrast

On white

1.47
#F2D285 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#F2D285 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D285
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D285#FFFFFF#000000##000000
##F2D2851.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D07F
Deuteranopia (green-blind)
#EBD988
Tritanopia (blue-blind)
#FFC6BF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d285;
/* rgb */ color: rgb(242, 210, 133);
/* oklch */ color: oklch(87.4% 0.102 87.7);
Tailwind
colors: {
  custom: {
    50: '#f8dfa9',
    500: '#f2d285',
    950: '#000000',
  },
}
SCSS
$custom: #f2d285;
$custom-light: #f8dfa9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d285",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 133
  },
  "hsl": {
    "h": 42.385,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.87411,
    "c": 0.10246,
    "h": 87.7
  },
  "luminance": 0.66664
}

Semantic roles & 50–950 ramp

primary
#F2D285
secondary
#4E73CE
accent
#47DD08
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F2D285

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

Preview Lab → · Contrast checker → · Palette generator →

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