#CFA252#CFA252

#CFA252 is a light, moderate orange. Relative luminance 0.397; OKLCH L 73.8% C 0.111 H 80.0°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CFA252
RGBrgb(207, 162, 82)
HSLhsl(38, 57%, 57%)
HSVhsv(38, 60%, 81%)
CMYKcmyk(0%, 21.7%, 60.4%, 18.8%)
CIE-LABlab(69.27, 7.71, 47.21)
CIE-LCHlch(69.27, 47.83, 80.72°)
OKLaboklab(73.79% 0.0194 0.1098)
OKLCHoklch(73.79% 0.111 80)
XYZxyz(40.1776, 39.7179, 13.5312)
Luminance0.3972 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA252 #527FCF
analogous
#CF6452 #CFA252 #BECF52
triadic
#CFA252 #52CFA2 #A252CF
tetradic
#CFA252 #52CF64 #527FCF #CF52BE
square
#CFA252 #52CF64 #527FCF #CF52BE
split-complementary
#CFA252 #52BECF #6452CF
monochromatic
#826024 #B28431 #CFA252 #DCBC82 #EAD6B2

Accessibility & contrast

On white

2.35
#CFA252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#CFA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA252
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA252#FFFFFF#000000##000000
##CFA2521.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A34A
Deuteranopia (green-blind)
#BFAE55
Tritanopia (blue-blind)
#DF9590
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cfa252;
/* rgb */ color: rgb(207, 162, 82);
/* oklch */ color: oklch(73.8% 0.111 80.0);
Tailwind
colors: {
  custom: {
    50: '#e1bd85',
    500: '#cfa252',
    950: '#000000',
  },
}
SCSS
$custom: #cfa252;
$custom-light: #e1bd85;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa252",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 38.4,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.73794,
    "c": 0.11148,
    "h": 80
  },
  "luminance": 0.39715
}

Semantic roles & 50–950 ramp

primary
#CFA252
secondary
#A5B7D8
accent
#7FE048
background
#FEFBF8
surface
#FCF6EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CFA252

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

Preview Lab → · Contrast checker → · Palette generator →

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