#CFA84B#CFA84B

#CFA84B is a light, moderate orange. Relative luminance 0.418; OKLCH L 74.9% C 0.120 H 86.3°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#CFA84B
RGBrgb(207, 168, 75)
HSLhsl(42, 58%, 55%)
HSVhsv(42, 64%, 81%)
CMYKcmyk(0%, 18.8%, 63.8%, 18.8%)
CIE-LABlab(70.72, 4.02, 52.16)
CIE-LCHlch(70.72, 52.31, 85.59°)
OKLaboklab(74.91% 0.0078 0.1195)
OKLCHoklch(74.91% 0.12 86.3)
XYZxyz(41.0069, 41.7812, 12.5599)
Luminance0.4178 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA84B #4B72CF
analogous
#CF664B #CFA84B #B4CF4B
triadic
#CFA84B #4BCFA8 #A84BCF
tetradic
#CFA84B #4BCF66 #4B72CF #CF4BB4
square
#CFA84B #4BCF66 #4B72CF #CF4BB4
split-complementary
#CFA84B #4BB4CF #664BCF
monochromatic
#7E6322 #AE892E #CFA84B #DCBF7B #E9D7AC

Accessibility & contrast

On white

2.24
#CFA84B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#CFA84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA84B
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA84B#FFFFFF#000000##000000
##CFA84B1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA741
Deuteranopia (green-blind)
#C4B14F
Tritanopia (blue-blind)
#DF9B94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cfa84b;
/* rgb */ color: rgb(207, 168, 75);
/* oklch */ color: oklch(74.9% 0.120 86.3);
Tailwind
colors: {
  custom: {
    50: '#e1c181',
    500: '#cfa84b',
    950: '#000000',
  },
}
SCSS
$custom: #cfa84b;
$custom-light: #e1c181;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa84b",
  "rgb": {
    "r": 207,
    "g": 168,
    "b": 75
  },
  "hsl": {
    "h": 42.273,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.74911,
    "c": 0.11971,
    "h": 86.3
  },
  "luminance": 0.41779
}

Semantic roles & 50–950 ramp

primary
#CFA84B
secondary
#9FB0D6
accent
#74E147
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFA84B

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

Preview Lab → · Contrast checker → · Palette generator →

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