#F2C271#F2C271
#F2C271 is a very light, moderate orange. Relative luminance 0.587; OKLCH L 84.0% C 0.113 H 79.3°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).
Color values
| HEX | #F2C271 |
|---|---|
| RGB | rgb(242, 194, 113) |
| HSL | hsl(38, 83%, 70%) |
| HSV | hsv(38, 53%, 95%) |
| CMYK | cmyk(0%, 19.8%, 53.3%, 5.1%) |
| CIE-LAB | lab(81.10, 7.72, 46.88) |
| CIE-LCH | lch(81.10, 47.51, 80.65°) |
| OKLab | oklab(84% 0.021 0.1115) |
| OKLCH | oklch(84% 0.113 79.3) |
| XYZ | xyz(58.8931, 58.6566, 23.8394) |
| Luminance | 0.5865 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Macaroni And Cheese
#EFB435
ΔE00 6.69
Tan (survey)
#D1B26F
ΔE00 6.75
Burlywood
#DEB887
ΔE00 6.95
Sand (survey)
#E2CA76
ΔE00 7.21
Butterscotch
#FDB147
ΔE00 7.23
Very Light Brown
#D3B683
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2C271 #71A1F2
analogous
#F28171 #F2C271 #E2F271
triadic
#F2C271 #71F2C2 #C271F2
tetradic
#F2C271 #71F281 #71A1F2 #F271E2
square
#F2C271 #71F281 #71A1F2 #F271E2
split-complementary
#F2C271 #71E2F2 #8171F2
monochromatic
#D58D14 #EDAA39 #F2C271 #F7DAA9 #FCF2E1
Accessibility & contrast
On white
1.65
#F2C271 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.73
#F2C271 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2C271
12.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2C271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2C271 | 1.00 | 1.65 | 12.73 | 12.73 |
| #FFFFFF | 1.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C26A
Deuteranopia (green-blind)
#E1CE73
Tritanopia (blue-blind)
#FFB4AF
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #f2c271; /* rgb */ color: rgb(242, 194, 113); /* oklch */ color: oklch(84.0% 0.113 79.3);
Tailwind
colors: {
custom: {
50: '#f9d49b',
500: '#f2c271',
950: '#000000',
},
}SCSS
$custom: #f2c271; $custom-light: #f9d49b; $custom-dark: #000000;
JSON
{
"hex": "#f2c271",
"rgb": {
"r": 242,
"g": 194,
"b": 113
},
"hsl": {
"h": 37.674,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.83997,
"c": 0.11345,
"h": 79.3
},
"luminance": 0.58653
}Semantic roles & 50–950 ramp
primary
#F2C271
secondary
#3C71CB
accent
#57E006
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F