#CFB34C#CFB34C

#CFB34C is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.2% C 0.126 H 94.0°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#CFB34C
RGBrgb(207, 179, 76)
HSLhsl(47, 58%, 55%)
HSVhsv(47, 63%, 81%)
CMYKcmyk(0%, 13.5%, 63.3%, 18.8%)
CIE-LABlab(73.56, -1.75, 54.82)
CIE-LCHlch(73.56, 54.85, 91.82°)
OKLaboklab(77.16% -0.0088 0.1253)
OKLCHoklch(77.16% 0.126 94)
XYZxyz(43.1587, 46.0296, 13.4474)
Luminance0.4603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB34C #4C68CF
analogous
#CF724C #CFB34C #A9CF4C
triadic
#CFB34C #4CCFB3 #B34CCF
tetradic
#CFB34C #4CCF72 #4C68CF #CF4CA9
square
#CFB34C #4CCF72 #4C68CF #CF4CA9
split-complementary
#CFB34C #4CA9CF #724CCF
monochromatic
#7F6B22 #AF942F #CFB34C #DCC77C #E9DCAD

Accessibility & contrast

On white

2.06
#CFB34C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#CFB34C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB34C
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB34C#FFFFFF#000000##000000
##CFB34C1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B040
Deuteranopia (green-blind)
#CCB851
Tritanopia (blue-blind)
#DFA69D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb34c;
/* rgb */ color: rgb(207, 179, 76);
/* oklch */ color: oklch(77.2% 0.126 94.0);
Tailwind
colors: {
  custom: {
    50: '#e1c982',
    500: '#cfb34c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb34c;
$custom-light: #e1c982;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb34c",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 76
  },
  "hsl": {
    "h": 47.176,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77158,
    "c": 0.12558,
    "h": 94
  },
  "luminance": 0.46027
}

Semantic roles & 50–950 ramp

primary
#CFB34C
secondary
#A0ACD7
accent
#68E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB34C

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

Preview Lab → · Contrast checker → · Palette generator →

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