#CFB34F#CFB34F

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

Color values

HEX#CFB34F
RGBrgb(207, 179, 79)
HSLhsl(47, 57%, 56%)
HSVhsv(47, 62%, 81%)
CMYKcmyk(0%, 13.5%, 61.8%, 18.8%)
CIE-LABlab(73.59, -1.55, 53.50)
CIE-LCHlch(73.59, 53.52, 91.66°)
OKLaboklab(77.19% -0.0079 0.1229)
OKLCHoklch(77.19% 0.123 93.7)
XYZxyz(43.2655, 46.0723, 14.0095)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB34F #4F6BCF
analogous
#CF734F #CFB34F #ABCF4F
triadic
#CFB34F #4FCFB3 #B34FCF
tetradic
#CFB34F #4FCF73 #4F6BCF #CF4FAB
square
#CFB34F #4FCF73 #4F6BCF #CF4FAB
split-complementary
#CFB34F #4FABCF #734FCF
monochromatic
#816C23 #B19530 #CFB34F #DCC87F #E9DDAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB34F#FFFFFF#000000##000000
##CFB34F1.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)
#C4B044
Deuteranopia (green-blind)
#CBB854
Tritanopia (blue-blind)
#DFA69D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb34f;
/* rgb */ color: rgb(207, 179, 79);
/* oklch */ color: oklch(77.2% 0.123 93.7);
Tailwind
colors: {
  custom: {
    50: '#e1c984',
    500: '#cfb34f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb34f;
$custom-light: #e1c984;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb34f",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 79
  },
  "hsl": {
    "h": 46.875,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77188,
    "c": 0.12313,
    "h": 93.7
  },
  "luminance": 0.4607
}

Semantic roles & 50–950 ramp

primary
#CFB34F
secondary
#A2AED7
accent
#69E047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB34F

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

Preview Lab → · Contrast checker → · Palette generator →

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