#CFB04B#CFB04B

#CFB04B is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.5% C 0.124 H 92.1°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#CFB04B
RGBrgb(207, 176, 75)
HSLhsl(46, 58%, 55%)
HSVhsv(46, 64%, 81%)
CMYKcmyk(0%, 15%, 63.8%, 18.8%)
CIE-LABlab(72.78, -0.23, 54.41)
CIE-LCHlch(72.78, 54.41, 90.24°)
OKLaboklab(76.53% -0.0045 0.1243)
OKLCHoklch(76.53% 0.124 92.1)
XYZxyz(42.5295, 44.8264, 13.0675)
Luminance0.4482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB04B #4B6ACF
analogous
#CF6E4B #CFB04B #ACCF4B
triadic
#CFB04B #4BCFB0 #B04BCF
tetradic
#CFB04B #4BCF6E #4B6ACF #CF4BAC
square
#CFB04B #4BCF6E #4B6ACF #CF4BAC
split-complementary
#CFB04B #4BACCF #6E4BCF
monochromatic
#7E6822 #AE902E #CFB04B #DCC57B #E9DAAC

Accessibility & contrast

On white

2.11
#CFB04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#CFB04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB04B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB04B#FFFFFF#000000##000000
##CFB04B1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD40
Deuteranopia (green-blind)
#C9B650
Tritanopia (blue-blind)
#DFA39A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfb04b;
/* rgb */ color: rgb(207, 176, 75);
/* oklch */ color: oklch(76.5% 0.124 92.1);
Tailwind
colors: {
  custom: {
    50: '#e1c781',
    500: '#cfb04b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb04b;
$custom-light: #e1c781;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb04b",
  "rgb": {
    "r": 207,
    "g": 176,
    "b": 75
  },
  "hsl": {
    "h": 45.909,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76533,
    "c": 0.12434,
    "h": 92.1
  },
  "luminance": 0.44824
}

Semantic roles & 50–950 ramp

primary
#CFB04B
secondary
#9FACD6
accent
#6BE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB04B

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

Preview Lab → · Contrast checker → · Palette generator →

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