#CFB74A#CFB74A

#CFB74A is a light, vivid yellow. Relative luminance 0.476; OKLCH L 78.0% C 0.130 H 96.8°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#CFB74A
RGBrgb(207, 183, 74)
HSLhsl(49, 58%, 55%)
HSVhsv(49, 64%, 81%)
CMYKcmyk(0%, 11.6%, 64.3%, 18.8%)
CIE-LABlab(74.59, -3.97, 56.81)
CIE-LCHlch(74.59, 56.95, 94.00°)
OKLaboklab(77.96% -0.0154 0.1292)
OKLCHoklch(77.96% 0.13 96.8)
XYZxyz(43.9036, 47.6289, 13.3580)
Luminance0.4763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB74A #4A62CF
analogous
#CF744A #CFB74A #A4CF4A
triadic
#CFB74A #4ACFB7 #B74ACF
tetradic
#CFB74A #4ACF74 #4A62CF #CF4AA4
square
#CFB74A #4ACF74 #4A62CF #CF4AA4
split-complementary
#CFB74A #4AA4CF #744ACF
monochromatic
#7D6D21 #AE972E #CFB74A #DCCA7A #E9DDAB

Accessibility & contrast

On white

2.00
#CFB74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#CFB74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB74A
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB74A#FFFFFF#000000##000000
##CFB74A1.002.0010.5310.53
#FFFFFF2.001.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33D
Deuteranopia (green-blind)
#CFBB50
Tritanopia (blue-blind)
#DFAAA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb74a;
/* rgb */ color: rgb(207, 183, 74);
/* oklch */ color: oklch(78.0% 0.130 96.8);
Tailwind
colors: {
  custom: {
    50: '#e1cc81',
    500: '#cfb74a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb74a;
$custom-light: #e1cc81;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb74a",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 74
  },
  "hsl": {
    "h": 49.173,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77963,
    "c": 0.13013,
    "h": 96.8
  },
  "luminance": 0.47627
}

Semantic roles & 50–950 ramp

primary
#CFB74A
secondary
#9FA9D6
accent
#62E146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB74A

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

Preview Lab → · Contrast checker → · Palette generator →

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