#CFB74F#CFB74F

#CFB74F is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.0% C 0.126 H 96.3°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#CFB74F
RGBrgb(207, 183, 79)
HSLhsl(49, 57%, 56%)
HSVhsv(49, 62%, 81%)
CMYKcmyk(0%, 11.6%, 61.8%, 18.8%)
CIE-LABlab(74.63, -3.65, 54.65)
CIE-LCHlch(74.63, 54.77, 93.82°)
OKLaboklab(78.01% -0.0139 0.1253)
OKLCHoklch(78.01% 0.126 96.3)
XYZxyz(44.0788, 47.6990, 14.2807)
Luminance0.4770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB74F #4F67CF
analogous
#CF774F #CFB74F #A7CF4F
triadic
#CFB74F #4FCFB7 #B74FCF
tetradic
#CFB74F #4FCF77 #4F67CF #CF4FA7
square
#CFB74F #4FCF77 #4F67CF #CF4FA7
split-complementary
#CFB74F #4FA7CF #774FCF
monochromatic
#816F23 #B19930 #CFB74F #DCCB7F #E9DEAF

Accessibility & contrast

On white

1.99
#CFB74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#CFB74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB74F
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB74F#FFFFFF#000000##000000
##CFB74F1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B344
Deuteranopia (green-blind)
#CEBB54
Tritanopia (blue-blind)
#DEAAA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb74f;
/* rgb */ color: rgb(207, 183, 79);
/* oklch */ color: oklch(78.0% 0.126 96.3);
Tailwind
colors: {
  custom: {
    50: '#e1cc84',
    500: '#cfb74f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb74f;
$custom-light: #e1cc84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb74f",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 79
  },
  "hsl": {
    "h": 48.75,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78013,
    "c": 0.1261,
    "h": 96.3
  },
  "luminance": 0.47697
}

Semantic roles & 50–950 ramp

primary
#CFB74F
secondary
#A2ACD7
accent
#64E047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB74F

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

Preview Lab → · Contrast checker → · Palette generator →

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