#CFA74B#CFA74B

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

Color values

HEX#CFA74B
RGBrgb(207, 167, 75)
HSLhsl(42, 58%, 55%)
HSVhsv(42, 64%, 81%)
CMYKcmyk(0%, 19.3%, 63.8%, 18.8%)
CIE-LABlab(70.46, 4.55, 51.88)
CIE-LCHlch(70.46, 52.08, 84.98°)
OKLaboklab(74.71% 0.0093 0.1189)
OKLCHoklch(74.71% 0.119 85.5)
XYZxyz(40.8230, 41.4134, 12.4986)
Luminance0.4141 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA74B #4B73CF
analogous
#CF654B #CFA74B #B5CF4B
triadic
#CFA74B #4BCFA7 #A74BCF
tetradic
#CFA74B #4BCF65 #4B73CF #CF4BB5
square
#CFA74B #4BCF65 #4B73CF #CF4BB5
split-complementary
#CFA74B #4BB5CF #654BCF
monochromatic
#7E6222 #AE882E #CFA74B #DCBF7B #E9D6AC

Accessibility & contrast

On white

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

On black

9.28
#CFA74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA74B
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA74B#FFFFFF#000000##000000
##CFA74B1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfa74b;
/* rgb */ color: rgb(207, 167, 75);
/* oklch */ color: oklch(74.7% 0.119 85.5);
Tailwind
colors: {
  custom: {
    50: '#e1c081',
    500: '#cfa74b',
    950: '#000000',
  },
}
SCSS
$custom: #cfa74b;
$custom-light: #e1c081;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa74b",
  "rgb": {
    "r": 207,
    "g": 167,
    "b": 75
  },
  "hsl": {
    "h": 41.818,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.7471,
    "c": 0.11922,
    "h": 85.5
  },
  "luminance": 0.41411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFA74B

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

Preview Lab → · Contrast checker → · Palette generator →

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