#CFA74C#CFA74C

#CFA74C is a light, moderate orange. Relative luminance 0.414; OKLCH L 74.7% C 0.118 H 85.3°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#CFA74C
RGBrgb(207, 167, 76)
HSLhsl(42, 58%, 55%)
HSVhsv(42, 63%, 81%)
CMYKcmyk(0%, 19.3%, 63.3%, 18.8%)
CIE-LABlab(70.47, 4.62, 51.43)
CIE-LCHlch(70.47, 51.63, 84.87°)
OKLaboklab(74.72% 0.0096 0.118)
OKLCHoklch(74.72% 0.118 85.3)
XYZxyz(40.8575, 41.4272, 12.6803)
Luminance0.4143 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA74C #4C74CF
analogous
#CF654C #CFA74C #B6CF4C
triadic
#CFA74C #4CCFA7 #A74CCF
tetradic
#CFA74C #4CCF65 #4C74CF #CF4CB6
square
#CFA74C #4CCF65 #4C74CF #CF4CB6
split-complementary
#CFA74C #4CB6CF #654CCF
monochromatic
#7F6222 #AF882F #CFA74C #DCBF7C #E9D6AD

Accessibility & contrast

On white

2.26
#CFA74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#CFA74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA74C
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA74C#FFFFFF#000000##000000
##CFA74C1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A642
Deuteranopia (green-blind)
#C3B150
Tritanopia (blue-blind)
#DF9A93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cfa74c;
/* rgb */ color: rgb(207, 167, 76);
/* oklch */ color: oklch(74.7% 0.118 85.3);
Tailwind
colors: {
  custom: {
    50: '#e1c081',
    500: '#cfa74c',
    950: '#000000',
  },
}
SCSS
$custom: #cfa74c;
$custom-light: #e1c081;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa74c",
  "rgb": {
    "r": 207,
    "g": 167,
    "b": 76
  },
  "hsl": {
    "h": 41.679,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.74721,
    "c": 0.11842,
    "h": 85.3
  },
  "luminance": 0.41425
}

Semantic roles & 50–950 ramp

primary
#CFA74C
secondary
#A0B1D7
accent
#76E147
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CFA74C

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

Preview Lab → · Contrast checker → · Palette generator →

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